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:
parent
27edba1f1b
commit
f2294d67a4
3 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue