Abolish HNTMAX and HNTSIZ in favor of HINT_COUNT.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 8ed28043f4994ca378658b33b21a81d37dab0d4c..f9d0284e8b775eea35b2bf08965676f60e71ca8d 100644 (file)
--- a/main.c
+++ b/main.c
@@ -189,7 +189,7 @@ static bool fallback_handler(char *buf)
 static void checkhints(void)
 {
     if (COND[game.loc] >= game.conds) {
-        for (int hint = 1; hint <= HNTMAX; hint++) {
+        for (int hint = 1; hint <= HINT_COUNT; hint++) {
             if (game.hinted[hint])
                 continue;
             if (!CNDBIT(game.loc, hint + HBASE))