Structurization of hints.
This commit is contained in:
parent
eebc87f889
commit
8d4d64fafb
3 changed files with 20 additions and 18 deletions
2
score.c
2
score.c
|
@ -96,7 +96,7 @@ int score(enum termination mode)
|
|||
|
||||
/* Deduct for hints/turns/saves. Hints < 4 are special; see database desc. */
|
||||
for (int i = 0; i < NHINTS; i++) {
|
||||
if (game.hinted[i])
|
||||
if (game.hints[i].used)
|
||||
score = score - hints[i].penalty;
|
||||
}
|
||||
if (game.novice)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue