]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/miss.c
(mission, build_mission_list_type, show_mission, oprange): Remove the
[empserver] / src / lib / commands / miss.c
index 6d6d70fb05f64921a493fe0b113570a13f7d0d93..8ea878a3d3a9ed70e6e9403e7b18ae275bf88606 100644 (file)
@@ -228,9 +228,9 @@ mission(void)
        if ((mission == MI_INTERDICT || mission == MI_SUPPORT ||
             mission == MI_OSUPPORT || mission == MI_DSUPPORT ||
             mission == MI_AIR_DEFENSE) &&
-           (oprange(gp, type, &radius) < dist)) {
+           (oprange(gp, &radius) < dist)) {
            pr("%s: out of range! (range %d)\n",
-              nameofitem(gp, type), oprange(gp, type, &radius));
+              nameofitem(gp, type), oprange(gp, &radius));
            continue;
        }