object_descriptions[] is now objects[].

This commit is contained in:
Jason S. Ninneman 2017-06-26 09:42:43 -07:00
parent d40085ce6f
commit 2fac8d1aef
7 changed files with 48 additions and 48 deletions

View file

@ -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;