]> git.pond.sub.org Git - empserver/commitdiff
Simplify reco() not to pass useless flags to pln_arm()
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 14 Sep 2009 01:13:31 +0000 (21:13 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 8 Dec 2009 07:15:50 +0000 (08:15 +0100)
Flags P_S and P_I have no effect.

src/lib/commands/reco.c

index 4afb2e63d731d35434a65a0490161ad312b9adc7..65e94c8bcb00102400102a22e54bd7a98f5aefbc 100644 (file)
@@ -97,7 +97,7 @@ reco(void)
     /*
      * 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)) {
        pr("No planes could be equipped for the mission.\n");
        return RET_FAIL;