projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Comment polishing.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 88899410f38c457be553346a24d9f1dc796ff28d..5aebb2a396caee144d35d72617670a7641759edc 100644
(file)
--- 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);
* 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)
}
void carry(obj_t object, loc_t where)