LOCSIZ -> NLOCATIONS, finishing limit-name cleanup.

This commit is contained in:
Eric S. Raymond 2017-06-24 10:20:36 -04:00
parent 64035d0026
commit 25077d0b4e
4 changed files with 7 additions and 7 deletions

2
init.c
View file

@ -167,7 +167,7 @@ void initialise(void)
game.link[i + NOBJECTS] = game.link[i] = 0;
}
for (int i = 1; i <= LOCSIZ; i++) {
for (int i = 1; i <= NLOCATIONS; i++) {
game.abbrev[i] = 0;
if (!(locations[i].description.big == 0 || KEY[i] == 0)) {
int k = KEY[i];