]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/sate.c
Fix satellite to fail on bad conditional
[empserver] / src / lib / commands / sate.c
index ae18e05c79c776b8faaada2177594a3320ca9eb1..a1273f7e66168e3f4e9f5f2b6be58931d6a37eb7 100644 (file)
@@ -86,8 +86,6 @@ sate(void)
        pr("Satellite Map Report:\n");
     pr("%s at ", prplane(&plane));
     tech = techfact(plane.pln_tech, 20.0);
-    satmap(plane.pln_x, plane.pln_y, plane.pln_effic,
-          (int)tech, plchr[(int)plane.pln_type].pl_flags, type);
-
-    return RET_OK;
+    return satmap(plane.pln_x, plane.pln_y, plane.pln_effic,
+                 (int)tech, plchr[(int)plane.pln_type].pl_flags, type);
 }