Bugfix: bird starts caged in endgame.
[open-adventure.git] / misc.c
diff --git a/misc.c b/misc.c
index d04760266c45903d7897ac100e5091df67069d18..0bcfb26387b7edb2487d636c2991ca40c6fabc93 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);
-    return STASHED(pval);
+    return (-1) - pval;;
 }
 
 void carry(obj_t object, loc_t where)