projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move a few prototypes and static'ed a few functions
[open-adventure.git]
/
score.c
diff --git
a/score.c
b/score.c
index 594b637578d1270822c9b183218efaeba26ab2e3..645a35e96a132345e6dd512496d87c9adad9d193 100644
(file)
--- a/
score.c
+++ b/
score.c
@@
-41,7
+41,7
@@
void score(enum termination mode)
if(i > CHEST)k=16;
if(game.prop[i] >= 0)
score += 2;
if(i > CHEST)k=16;
if(game.prop[i] >= 0)
score += 2;
- if(game.place[i] ==
3
&& game.prop[i] == 0)
+ if(game.place[i] ==
LOC_BUILDING
&& game.prop[i] == 0)
score += k-2;
mxscor += k;
}
score += k-2;
mxscor += k;
}
@@
-75,7
+75,7
@@
void score(enum termination mode)
mxscor += 45;
/* Did he come to Witt's End as he should? */
mxscor += 45;
/* Did he come to Witt's End as he should? */
- if(game.place[MAGZIN] ==
108
)
+ if(game.place[MAGZIN] ==
LOC_WITTSEND
)
score += 1;
mxscor += 1;
score += 1;
mxscor += 1;