X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=init.c;h=5ad3a80b7225c9fe72ea74c2cecdbc2ef1c2cd30;hb=d40085ce6fd2141a7d38ea9be04ea04b3ef90cbe;hp=6582a74df718669a7ed1e20ca0088096bab75bae;hpb=59243cf8bc1939348467810bc63e107728a680c4;p=open-adventure.git diff --git a/init.c b/init.c index 6582a74..5ad3a80 100644 --- a/init.c +++ b/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); }