]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/laun.c
commands: Rename the command functions
[empserver] / src / lib / commands / laun.c
index 2f4fc8054228fca34270986050cf72f238082ba8..9e1466b5cb282d0f0d7db4de2d68e115f4af1b8d 100644 (file)
@@ -56,7 +56,7 @@ static int msl_equip(struct plnstr *, char);
  * laun <PLANES>
  */
 int
-laun(void)
+c_launch(void)
 {
     struct nstr_item nstr;
     struct plnstr plane;
@@ -151,7 +151,7 @@ launch_as(struct plnstr *pp)
        pr("Range too great!\n");
        return RET_FAIL;
     }
-    if (msl_equip(pp, 'i') < 0)
+    if (msl_equip(pp, 0) < 0)
        return RET_FAIL;
     if (msl_launch(pp, EF_PLANE, prplane(&plane),
                   plane.pln_x, plane.pln_y, plane.pln_own, NULL) < 0)