Really fix bomb not to wipe out plane updates

Commit f07e6901 didn't fix it completely.
This commit is contained in:
Markus Armbruster 2009-03-10 12:51:44 +01:00
parent 009fc1403c
commit 82b5e3c29a

View file

@ -95,6 +95,8 @@ bomb(void)
int wantflags;
struct sctstr ap_sect;
char mission;
struct plist *plp;
struct emp_qelem *qp, *next;
int rel;
struct natstr *natp;
char buf[1024];
@ -150,6 +152,11 @@ bomb(void)
switch (mission) {
case 'p':
pin_bomb(&bomb_list, &target);
for (qp = bomb_list.q_forw; qp != &bomb_list; qp = next) {
next = qp->q_forw;
plp = (struct plist *)qp;
changed_plane_aborts(plp);
}
break;
case 's':
if (opt_SLOW_WAR) {