Change pln_mine() parameters to match pln_dropoff()

This moves getting the target sector from caller into pln_mine().
Makes sense, because that's where it's put.
This commit is contained in:
Markus Armbruster 2008-07-12 14:43:35 -04:00
parent 27edba1f1b
commit f2294d67a4
3 changed files with 10 additions and 10 deletions

View file

@ -129,9 +129,8 @@ drop(void)
if (QEMPTY(&bomb_list)) {
pr("No planes got through fighter defenses\n");
} else {
getsect(tx, ty, &target);
if (wantflags & P_MINE)
pln_mine(&bomb_list, &target);
pln_mine(&bomb_list, tx, ty);
else
pln_dropoff(&bomb_list, ip, tx, ty, -1);
}