Transition to YAML is done, adventure.text and travel.py can go away.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index dc70279426f396fe987689a01d7e7e6a33c0ef20..d22da5ebe8d3b6c1af0bfd34c8fd2007d143669e 100644 (file)
--- a/init.c
+++ b/init.c
@@ -4,7 +4,6 @@
 #include <stdbool.h>
 
 #include "advent.h"
-#include "database.h"
 
 /*
  * Initialisation
@@ -25,7 +24,7 @@ void initialise(void)
         game.abbrev[i] = 0;
         if (!(locations[i].description.big == 0 || tkey[i] == 0)) {
             int k = tkey[i];
-            if (MOD(travel[k].opcode, 1000) == 1)
+            if (T_TERMINATE(travel[k]))
                conditions[i] |= (1 << COND_FORCED);
         }
         game.atloc[i] = 0;