X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=score.c;fp=score.c;h=8f91e44716ad0b6b95efeb6681fa0648d7399631;hp=f3fc80749922c2ff9febce40bd3ec8ef33a03870;hb=ddb0df85b315cf60c529d0566254beb2c42cab2b;hpb=b37f9f4b2daa51b969a1d0e08cf84f23ca82202b 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;