]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/reco.c
Fix trailing whitespace
[empserver] / src / lib / commands / reco.c
index fcd4d1359e0768aacd41a68131455c711d5c4868..ebc9e06e0de6ce639f7ea71cc5b5af34744296fc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  reco.c: Fly a recon mission
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
@@ -57,11 +57,8 @@ reco(void)
     char buf[1024];
 
     wantflags = 0;
-    if (!snxtitem(&ni_bomb, EF_PLANE, player->argp[1]))
+    if (get_planes(&ni_bomb, &ni_esc, player->argp[1], player->argp[2]) < 0)
        return RET_SYN;
-    if (!snxtitem(&ni_esc, EF_PLANE,
-                 getstarg(player->argp[2], "escort(s)? ", buf)))
-       pr("No escorts...\n");
     if (!get_assembly_point(player->argp[3], &ap_sect, buf))
        return RET_SYN;
     ax = ap_sect.sct_x;