projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Structurization of hints.
[open-adventure.git]
/
score.c
diff --git
a/score.c
b/score.c
index d3eeb0aa7848d9d448a5460eea09c05acb6dbc41..2e804e4983741789f25190a076820df3e04088fd 100644
(file)
--- a/
score.c
+++ b/
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.hint
ed[i]
)
+ if (game.hint
s[i].used
)
score = score - hints[i].penalty;
}
if (game.novice)