(pln_equip): New mission argument 'm' for mining. 'd' is now for
cargo drops only. Callers changed.
This commit is contained in:
parent
8e12bb8574
commit
ea93842927
2 changed files with 7 additions and 12 deletions
|
@ -120,7 +120,8 @@ drop(void)
|
|||
mission_flags |= P_X; /* stealth (shhh) */
|
||||
mission_flags |= P_H; /* gets turned off if not all choppers */
|
||||
mission_flags |= P_MINE;
|
||||
mission_flags = pln_arm(&bomb_list, 2 * ap_to_target, 'd',
|
||||
mission_flags = pln_arm(&bomb_list, 2 * ap_to_target,
|
||||
wantflags & P_MINE ? 'm' : 'd',
|
||||
ip, 0, mission_flags);
|
||||
if (QEMPTY(&bomb_list)) {
|
||||
pr("No planes could be equipped for the mission.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue