projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Encapsulate object-state state tests and setttings in macros.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index 88899410f38c457be553346a24d9f1dc796ff28d..f224d4ce15089d48d82389d210737f98772c3f2b 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-600,7
+600,7
@@
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
+ game.objects[object].prop = (-1) - pval;; // Needs to stay synchronized with
PROP_
STASHED
}
void carry(obj_t object, loc_t where)
}
void carry(obj_t object, loc_t where)