projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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 <= H
NTMAX
; i++) {
+ for (long i = 1; i <= H
INT_COUNT
; i++) {
if (game.hinted[i])
score = score - hints[i-1].penalty;
}