Switch fully over to YAML generation of condition bits. COND is gone.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index debbb4670a310de8dc4f98d6332be88dfef578d5..90665c7b35a888b4bc0db37bf20ba052fbe56d68 100644 (file)
--- a/main.c
+++ b/main.c
@@ -188,7 +188,7 @@ static bool fallback_handler(char *buf)
  *  notes). */
 static void checkhints(void)
 {
-    if (COND[game.loc] >= game.conds) {
+    if (conditions[game.loc] >= game.conds) {
         for (int hint = 0; hint < HINT_COUNT; hint++) {
             if (game.hinted[hint])
                 continue;