Simplify reco() not to pass useless flags to pln_arm()
Flags P_S and P_I have no effect.
This commit is contained in:
parent
e2580b4005
commit
79154bf0fc
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ reco(void)
|
||||||
/*
|
/*
|
||||||
* now arm and equip the bombers, transports, whatever.
|
* now arm and equip the bombers, transports, whatever.
|
||||||
*/
|
*/
|
||||||
pln_arm(&bomb_list, ap_to_target, 'r', NULL, P_S | P_I);
|
pln_arm(&bomb_list, ap_to_target, 'r', NULL, 0);
|
||||||
if (QEMPTY(&bomb_list)) {
|
if (QEMPTY(&bomb_list)) {
|
||||||
pr("No planes could be equipped for the mission.\n");
|
pr("No planes could be equipped for the mission.\n");
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue