Clean up some comments.

This commit is contained in:
Eric S. Raymond 2024-09-22 22:06:02 -04:00
parent 9c3f4b0c90
commit 354e56a69b
3 changed files with 4 additions and 6 deletions

6
misc.c
View file

@ -622,11 +622,9 @@ void move(obj_t object, loc_t where) {
}
void put(obj_t object, loc_t where, int pval) {
/* put() is the same as move(), except it returns a value used to set
* up the negated game.prop values for the repository objects. */
/* put() is the same as move(), except the object is stashed and
* can no longer be picked up. */
move(object, where);
/* (ESR) Read this in combination with the macro defintions in advent.h.
*/
game.objects[object].prop = PROP_STASHIFY(pval);
#ifdef OBJECT_SET_SEEN
OBJECT_SET_SEEN(object);