X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=init.c;h=ac1671696e1f9f82ebec27e997c9f19e4ff4c8e5;hb=db68e0097ed1bf1ebcfc7f3e9a0bdf295c537f00;hp=fc8d5fdce8db6cfeb6c814d3b4c5552cb72f5eeb;hpb=8560122f01f82bd508b93a0d27105bf415203803;p=open-adventure.git diff --git a/init.c b/init.c index fc8d5fd..ac16716 100644 --- a/init.c +++ b/init.c @@ -25,7 +25,7 @@ void initialise(void) game.abbrev[i] = 0; if (!(locations[i].description.big == 0 || tkey[i] == 0)) { int k = tkey[i]; - if (MOD(labs(travel[k].opcode), 1000) == 1) + if (T_LOW(travel[k]) == 1) conditions[i] |= (1 << COND_FORCED); } game.atloc[i] = 0;