X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=misc.c;fp=misc.c;h=f6a37f71a05d66fb5a59ab2c296fe4836b35500c;hp=0d540c65d7518eadf448f1941f9e2f7b16936a7a;hb=5d3205e1e9e29bc477e7f785a263cd43dd9cd1bd;hpb=a6b41fdb8f8c56707f8bb5ffa2ad85eba5335c41 diff --git a/misc.c b/misc.c index 0d540c6..f6a37f7 100644 --- a/misc.c +++ b/misc.c @@ -600,8 +600,10 @@ void put(obj_t object, loc_t where, int pval) * negated game.prop values for the repository objects. */ { move(object, where); + /* (ESR) Read this in combination with the macro defintions in advebt.h. + */ #ifndef FOUNDBOOL - game.objects[object].prop = (-1) - pval;; // Needs to stay synchronized with PROP_STASHED + game.objects[object].prop = (-1) - pval; // Needs to stay synchronized with PROP_STASHED #else game.objects[object].prop = - pval;; // Needs to stay synchronized with PROP_STASHED game.objects[object].found = true;