X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=score.c;h=8f91e44716ad0b6b95efeb6681fa0648d7399631;hp=f3fc80749922c2ff9febce40bd3ec8ef33a03870;hb=67ed99b29cfe5c32b3db72091de3fb174195e032;hpb=f6373dd32e4ed75b18c9c6fb7dfa103d4ef68891 diff --git a/score.c b/score.c index f3fc807..8f91e44 100644 --- a/score.c +++ b/score.c @@ -89,7 +89,7 @@ long score(enum termination mode) /* Deduct for hints/turns/saves. Hints < 4 are special; see database desc. */ for (long i = 1; i <= HNTMAX; i++) { if (game.hinted[i]) - score = score - HINTS[i][2]; + score = score - hints[i-1].penalty; } if (game.novice) score -= 5;