tripping over objects under water

- cannot trip over submerged objects when you're water walking
This commit is contained in:
cohrs
2002-04-01 00:57:22 +00:00
parent 587fe0b9e7
commit 62519872b9
2 changed files with 3 additions and 0 deletions

View File

@@ -621,6 +621,8 @@ slip_or_trip()
if (u.usteed) on_foot = FALSE;
#endif
if (otmp && on_foot && !u.uinwater && is_pool(u.ux, u.uy)) otmp = 0;
if (otmp && on_foot) { /* trip over something in particular */
/*
If there is only one item, it will have just been named