Change the name of the KEY array to avoid an upcoming macro clash.

This commit is contained in:
Eric S. Raymond 2017-06-26 10:44:19 -04:00
parent 59243cf8bc
commit d612b0e6ca
3 changed files with 11 additions and 11 deletions

4
init.c
View file

@ -23,8 +23,8 @@ void initialise(void)
for (int i = 1; i <= NLOCATIONS; i++) {
game.abbrev[i] = 0;
if (!(locations[i].description.big == 0 || KEY[i] == 0)) {
int k = KEY[i];
if (!(locations[i].description.big == 0 || TKEY[i] == 0)) {
int k = TKEY[i];
if (MOD(labs(TRAVEL[k]), 1000) == 1)
conditions[i] |= (1 << COND_FORCED);
}