Give the FORCED property a real cond bit. Delete some unused code.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index 5ae974f5dc10ae17e05c729f40c551528d4a64fd..1ed9df6c4561f3700f3abc2ad2c5e68b0ec4310d 100644 (file)
--- a/init.c
+++ b/init.c
@@ -185,7 +185,7 @@ void initialise(void)
         if (!(locations[i].description.big == 0 || KEY[i] == 0)) {
             int k = KEY[i];
             if (MOD(labs(TRAVEL[k]), 1000) == 1)
-               conditions[i] = 2;
+               conditions[i] |= (1 << COND_FORCED);
         }
         game.atloc[i] = 0;
     }