X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=score.c;h=c0a0277b36afd4f5d1f2e0c2d26f6665eba39c52;hp=ed9cdeda34263281610372603e9da659ff906979;hb=9e9731d59b79a1a7c4bd4583d621ec125849220a;hpb=191d3cb04393599e90be909013494ca6f68ba328 diff --git a/score.c b/score.c index ed9cded..c0a0277 100644 --- a/score.c +++ b/score.c @@ -48,7 +48,7 @@ int score(enum termination mode) k = 14; if (i > CHEST) k = 16; - if (game.objects[i].prop > STATE_NOTFOUND) + if (!PROP_IS_STASHED(i) && !PROP_IS_NOTFOUND(i)) score += 2; if (game.objects[i].place == LOC_BUILDING && PROP_IS_FOUND(i)) score += k - 2;