* negated game.prop values for the repository objects. */
{
move(object, where);
- game.objects[object].prop = (-1) - pval;; // Needs to stay synchronized with PROP_STASHED
+ /* (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
+#else
+ game.objects[object].prop = - pval;; // Needs to stay synchronized with PROP_STASHED
+ game.objects[object].found = true;
+#endif
}
void carry(obj_t object, loc_t where)