Fix origin and zdone for invalid country argument

Invalid country argument was interpreted as (natid)-1, which is
normally 255.  Harmless as long as this is less than MAXNOC (99).
Wrong anyway.
This commit is contained in:
Markus Armbruster 2008-07-18 18:34:17 -04:00
parent da59e02706
commit 4646dfbf80
2 changed files with 2 additions and 2 deletions

View file

@ -43,7 +43,7 @@ orig(void)
char *p;
coord x, y;
char buf[1024];
natid cnum;
int cnum;
struct natstr *np;
p = getstarg(player->argp[1], "New origin (sector or country) : ", buf);