]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/expl.c
Update copyright notice
[empserver] / src / lib / commands / expl.c
index 0c363c51e40f072ff051682009209e5c75c61573..a5486e00a1c4fa45e27f87a432435f724028cd1b 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -75,7 +75,7 @@ explore(void)
        pr("You can only explore with civs and mil.\n");
        return RET_FAIL;
     }
-    if ((p = getstarg(player->argp[2], "from sector : ", buf)) == 0)
+    if (!(p = getstarg(player->argp[2], "from sector : ", buf)))
        return RET_SYN;
     if (!sarg_xy(p, &x, &y))
        return RET_SYN;
@@ -119,7 +119,7 @@ explore(void)
        pr("Only exploring with %d.\n", amount);
     }
 
-    if (!want_to_abandon(&sect, vtype, amount, 0)) {
+    if (!want_to_abandon(&sect, vtype, amount, NULL)) {
        pr("Explore cancelled.\n");
        return RET_FAIL;
     }