groundwork: u.uinwater manipulation

Toggle u.uinwater on or off in just one place.
This commit is contained in:
PatR
2020-04-03 01:04:27 -07:00
parent 5f9714bf92
commit a2338e92aa
9 changed files with 22 additions and 13 deletions

View File

@@ -4514,7 +4514,7 @@ short exploding_wand_typ;
if (x == u.ux && y == u.uy) {
if (u.uinwater) { /* not just `if (Underwater)' */
/* leave the no longer existent water */
u.uinwater = 0;
set_uinwater(0); /* u.uinwater = 0 */
u.uundetected = 0;
docrt();
g.vision_full_recalc = 1;