X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=init.c;h=753135ec42b0a5fe46080de7afcf3602ad16beb1;hp=66ef59e2a0d0e846d19d4fff12e11ba275c4b312;hb=c4ceca3db9ebbe10460f7442fbeeb961a3816758;hpb=894b3de9493d26d7dec33aac7b820783c108803b diff --git a/init.c b/init.c index 66ef59e..753135e 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]), 1000) == 1) + if (T_TERMINATE(travel[k])) conditions[i] |= (1 << COND_FORCED); } game.atloc[i] = 0;