apply Janet's lint catches to trunk

This commit is contained in:
nethack.allison
2003-12-10 01:23:14 +00:00
parent 887d2defd1
commit f935974e02
4 changed files with 7 additions and 3 deletions

View File

@@ -329,7 +329,8 @@ boolean forcecontrol;
}
if (is_pool(u.ux,u.uy) && was_floating && !(Levitation || Flying) &&
!breathless(youmonst.data) && !amphibious(youmonst.data) &&
!Swimming) drown();
!Swimming)
(void) drown();
}
/* (try to) make a mntmp monster out of the player */