Change the name of the KEY array to avoid an upcoming macro clash.
This commit is contained in:
parent
59243cf8bc
commit
d612b0e6ca
3 changed files with 11 additions and 11 deletions
4
init.c
4
init.c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue