X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=misc.c;h=5aebb2a396caee144d35d72617670a7641759edc;hb=869c53d1b1ae2d1da6cbb37070e76054e65cd559;hp=88899410f38c457be553346a24d9f1dc796ff28d;hpb=9cd7c53d789a8a3bc845ff8f6b0e6b46af631627;p=open-adventure.git diff --git a/misc.c b/misc.c index 8889941..5aebb2a 100644 --- a/misc.c +++ b/misc.c @@ -600,7 +600,12 @@ void put(obj_t object, loc_t where, int pval) * negated game.prop values for the repository objects. */ { move(object, where); - game.objects[object].prop = (-1) - pval;; // Needs to stay synchronized with STASHED + /* (ESR) Read this in combination with the macro defintions in advebt.h. + */ + game.objects[object].prop = PROP_STASHIFY(pval); +#ifdef PROP_SET_SEEN + PROP_SET_SEEN(object); +#endif } void carry(obj_t object, loc_t where)