object_descriptions[] is now objects[].
This commit is contained in:
parent
d40085ce6f
commit
2fac8d1aef
7 changed files with 48 additions and 48 deletions
4
score.c
4
score.c
|
@ -38,9 +38,9 @@ long score(enum termination mode)
|
|||
* Give the poor guy 2 points just for finding each treasure. */
|
||||
mxscor = 0;
|
||||
for (int i = 1; i <= NOBJECTS; i++) {
|
||||
if (!object_descriptions[i].is_treasure)
|
||||
if (!objects[i].is_treasure)
|
||||
continue;
|
||||
if (object_descriptions[i].inventory != 0) {
|
||||
if (objects[i].inventory != 0) {
|
||||
long k = 12;
|
||||
if (i == CHEST)k = 14;
|
||||
if (i > CHEST)k = 16;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue