Abolish HNTMAX and HNTSIZ in favor of HINT_COUNT.
[open-adventure.git] / score.c
diff --git a/score.c b/score.c
index 0916b9a82bf740010f011393f97375f22db10094..b2db8a6a54097913ad2068c701533b34b8f66008 100644 (file)
--- a/score.c
+++ b/score.c
@@ -87,7 +87,7 @@ long score(enum termination mode)
     mxscor += 2;
 
     /* Deduct for hints/turns/saves. Hints < 4 are special; see database desc. */
-    for (long i = 1; i <= HNTMAX; i++) {
+    for (long i = 1; i <= HINT_COUNT; i++) {
         if (game.hinted[i])
             score = score - hints[i-1].penalty;
     }