discoverying water walking boots

If water walking boots haven't been discovered yet and underwater
hero rises to the surface when putting a pair on, discover them.

(Sinking while removing such on water already discovers them.)
This commit is contained in:
PatR
2025-01-02 23:12:15 -08:00
parent d3c57e1b42
commit ce947600e5
4 changed files with 24 additions and 0 deletions

View File

@@ -1044,6 +1044,9 @@ struct instance_globals_w {
int warn_obj_cnt; /* count of monsters meeting criteria */
long wailmsg;
/* do_wear.c */
uint8 wasinwater;
/* symbols.c */
nhsym warnsyms[WARNCOUNT]; /* the current warning display symbols */