projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a formal-type glitch.
[open-adventure.git]
/
misc.c
diff --git
a/misc.c
b/misc.c
index d04760266c45903d7897ac100e5091df67069d18..691d771eec7ab79d1d0a399c529a5af02f1a8d36 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-602,7
+602,7
@@
loc_t 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);
- return
STASHED(pval);
+ return
(-1) - pval;; // Needs to stay sinchronized with STASHED
}
void carry(obj_t object, loc_t where)
}
void carry(obj_t object, loc_t where)