#define OBJECT_IS_NOTFOUND2(g, o) (!g.objects[o].found)
#define OBJECT_SET_SEEN(obj) game.objects[object].found = true
#endif
+#define OBJECT_STASHIFY(obj, pval) game.objects[obj].prop = PROP_STASHIFY(pval)
#define PROMPT "> "
if (TOTING(i) &&
(OBJECT_IS_NOTFOUND(i) ||
OBJECT_IS_STASHED(i))) {
- game.objects[i].prop =
- PROP_STASHIFY(game.objects[i].prop);
+ OBJECT_STASHIFY(i, game.objects[i].prop);
}
}
}
/* put() is the same as move(), except the object is stashed and
* can no longer be picked up. */
move(object, where);
- game.objects[object].prop = PROP_STASHIFY(pval);
+ OBJECT_STASHIFY(object, pval);
#ifdef OBJECT_SET_SEEN
OBJECT_SET_SEEN(object);
#endif