X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=init.c;h=76bdc8ae21732c08e4449120769f81a8149e4aa6;hp=220f9cbe197aa6084376683dda0da8934995c9bb;hb=f4d3f6def9559ccdfff99db0d6bb70e2b8e23b99;hpb=c8f6ff3701534e6c1ce59cf3e33aec5e824ed144 diff --git a/init.c b/init.c index 220f9cb..76bdc8a 100644 --- a/init.c +++ b/init.c @@ -225,7 +225,7 @@ void initialise(void) /* Clear the hint stuff. game.hintlc[i] is how long he's been at LOC * with cond bit i. game.hinted[i] is true iff hint i has been * used. */ - for (int i = 1; i <= HINT_COUNT; i++) { + for (int i = 0; i < HINT_COUNT; i++) { game.hinted[i] = false; game.hintlc[i] = 0; }