Break travel array into three struct fields.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index fc8d5fdce8db6cfeb6c814d3b4c5552cb72f5eeb..ac1671696e1f9f82ebec27e997c9f19e4ff4c8e5 100644 (file)
--- 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;