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
+1
View File
@@ -42,6 +42,7 @@ animal_parts are not always appropriate for ravens
prevent panic if tombstone window cannot be created prevent panic if tombstone window cannot be created
clarify travel command behavior in the Guidebook clarify travel command behavior in the Guidebook
touch_artifact checks needed when snagging w/bullwhip and stealing touch_artifact checks needed when snagging w/bullwhip and stealing
cannot trip over submerged objects if you're water walking
Platform- and/or Interface-Specific Fixes Platform- and/or Interface-Specific Fixes
+2
View File
@@ -621,6 +621,8 @@ slip_or_trip()
if (u.usteed) on_foot = FALSE; if (u.usteed) on_foot = FALSE;
#endif #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 (otmp && on_foot) { /* trip over something in particular */
/* /*
If there is only one item, it will have just been named If there is only one item, it will have just been named