(TERR_MAX): New.

(terr): Use it.

(terr): When the territory number is bad, do not loop prompting, just
fail.  That's what the vast majority of commands do.
This commit is contained in:
Markus Armbruster 2006-04-30 12:56:41 +00:00
parent f59fd6e8eb
commit 8cb55944a3
2 changed files with 7 additions and 16 deletions

View file

@ -199,6 +199,8 @@ extern struct dchrstr bigcity_dchr;
#define CHE_MAX 255
/* maximum fallout, must fit into struct sctstr member sct_fallout */
#define FALLOUT_MAX 9999
/* maximum territory, must fit into struct sctstr members sct_terr etc */
#define TERR_MAX 99
/* Each cost is per point of efficency */
struct sctintrins {