(ac_encounter): Called writemap() only for active sorties, and not
when update_pending. This makes no sense. The map is updated in memory and not calling writemap() only delays the write back to disk. Remove the conditional.
This commit is contained in:
parent
c5719fb3be
commit
ebb731a562
1 changed files with 1 additions and 2 deletions
|
@ -269,8 +269,7 @@ ac_encounter(struct emp_qelem *bomb_list, struct emp_qelem *esc_list,
|
|||
}
|
||||
/* If the map changed, update it */
|
||||
if (changed)
|
||||
if (!update_pending && plane_owner == player->cnum)
|
||||
writemap(player->cnum);
|
||||
writemap(player->cnum);
|
||||
/* Now, if the bomber and escort lists are empty, we are done */
|
||||
if (QEMPTY(bomb_list) && QEMPTY(esc_list)) {
|
||||
if (mission_flags & P_A)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue