]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/reco.c
(pln_arm): Callers don't use parameter tech; remove it. Callers
[empserver] / src / lib / commands / reco.c
index d9d6b5f7335389fbaca45bc4ba340b9b78a7e508..817cf438aeb196cd4fdc4b74af80809cfe6fcbe8 100644 (file)
@@ -52,7 +52,6 @@ reco(void)
 {
     s_char *p;
     int mission_flags;
-    int tech;
     coord tx, ty;
     coord ax, ay;
     int ap_to_target;
@@ -122,20 +121,17 @@ reco(void)
     /*
      * now arm and equip the bombers, transports, whatever.
      */
-    tech = 0;
     mission_flags |= P_X;      /* stealth (shhh) */
     mission_flags |= P_H;      /* gets turned off if not all choppers */
     mission_flags |= P_A;
-    mission_flags =
-       pln_arm(&bomb_list, ap_to_target, 'r', 0, P_S | P_I, mission_flags,
-               &tech);
+    mission_flags = pln_arm(&bomb_list, ap_to_target, 'r',
+                           0, P_S | P_I, mission_flags);
     if (QEMPTY(&bomb_list)) {
        pr("No planes could be equipped for the mission.\n");
        return RET_FAIL;
     }
-    mission_flags =
-       pln_arm(&esc_list, ap_to_target, 'r', 0, P_F, mission_flags,
-               &tech);
+    mission_flags = pln_arm(&esc_list, ap_to_target, 'r',
+                           0, P_F, mission_flags);
     mission_flags |= PM_R;
 
     if (*player->argp[0] == 's')