/*
* 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
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;
pr("Only exploring with %d.\n", amount);
}
- if (!want_to_abandon(§, vtype, amount, 0)) {
+ if (!want_to_abandon(§, vtype, amount, NULL)) {
pr("Explore cancelled.\n");
return RET_FAIL;
}