X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=init.c;h=220f9cbe197aa6084376683dda0da8934995c9bb;hp=d7789ad7ce85aa17a9f23bb4b0d9165107a26e7e;hb=c8f6ff3701534e6c1ce59cf3e33aec5e824ed144;hpb=deb61e3dcd060dac685feb71aa21e52165fd8691 diff --git a/init.c b/init.c index d7789ad..220f9cb 100644 --- a/init.c +++ b/init.c @@ -5,7 +5,6 @@ #include "advent.h" #include "database.h" -#include "newdb.h" /* * Initialisation @@ -226,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 <= HNTMAX; i++) { + for (int i = 1; i <= HINT_COUNT; i++) { game.hinted[i] = false; game.hintlc[i] = 0; }