Fix a formal-type glitch.

This commit is contained in:
Eric S. Raymond 2023-03-11 09:41:07 -05:00
parent 71f05c4567
commit b7bf85904d
2 changed files with 2 additions and 2 deletions

View file

@ -233,7 +233,7 @@ extern bool silent_yes_or_no(void);
extern bool yes_or_no(const char*, const char*, const char*);
extern void juggle(obj_t);
extern void move(obj_t, loc_t);
extern loc_t put(obj_t, int, int);
extern loc_t put(obj_t, loc_t, int);
extern void carry(obj_t, loc_t);
extern void drop(obj_t, loc_t);
extern int atdwrf(loc_t);

2
misc.c
View file

@ -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 (-1) - pval;;
return (-1) - pval;; // Needs to stay sinchronized with STASHED
}
void carry(obj_t object, loc_t where)