X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=main.c;h=f9d0284e8b775eea35b2bf08965676f60e71ca8d;hp=8ed28043f4994ca378658b33b21a81d37dab0d4c;hb=c8f6ff3701534e6c1ce59cf3e33aec5e824ed144;hpb=deb61e3dcd060dac685feb71aa21e52165fd8691 diff --git a/main.c b/main.c index 8ed2804..f9d0284 100644 --- 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))