Remove unused D1 last_attack_time

This commit is contained in:
Kp 2015-05-09 17:39:00 +00:00
parent d9c3005134
commit 83baf4dfe8
2 changed files with 3 additions and 3 deletions

View file

@ -187,7 +187,7 @@ struct ai_local : public prohibit_void_ptr<ai_local>
ai_mode mode; // current mode within behavior
#if defined(DXX_BUILD_DESCENT_I)
segnum_t goal_segment; // goal segment for current path
fix last_see_time, last_attack_time; // For sound effects, time at which player last seen, attacked
fix last_see_time; // For sound effects, time at which player last seen, attacked
#elif defined(DXX_BUILD_DESCENT_II)
segnum_t goal_segment; // goal segment for current path
#endif

View file

@ -4381,7 +4381,7 @@ static void state_ai_local_to_ai_local_rw(ai_local *ail, ai_local_rw *ail_rw)
ail_rw->goal_segment = ail->goal_segment;
#if defined(DXX_BUILD_DESCENT_I)
ail_rw->last_see_time = ail->last_see_time;
ail_rw->last_attack_time = ail->last_attack_time;
ail_rw->last_attack_time = 0;
#elif defined(DXX_BUILD_DESCENT_II)
ail_rw->next_fire2 = ail->next_fire2;
#endif
@ -4562,7 +4562,7 @@ static void ai_local_read_swap(ai_local *ail, int swap, PHYSFS_file *fp)
ail->rapidfire_count = PHYSFSX_readByte(fp);
ail->goal_segment = PHYSFSX_readSXE16(fp, swap);
ail->last_see_time = PHYSFSX_readSXE32(fp, swap);
ail->last_attack_time = PHYSFSX_readSXE32(fp, swap);
PHYSFSX_readSXE32(fp, swap);
ail->next_action_time = PHYSFSX_readSXE32(fp, swap);
ail->next_fire = PHYSFSX_readSXE32(fp, swap);
#elif defined(DXX_BUILD_DESCENT_II)