fix #K3895 - 'o' at own spot during pass-walls
If standing at the location of a closed door while having Passes_walls ability, attemping to open that door with 'o' reported "you don't find anything here to loot". Using 'o' to loot for direction ./>/< is intentional but it ignored the possibility of there also being a closed door present. When the latter applies, only switch from open to loot for direction '>' so that '.' (and '<') will open the door. Doesn't matter for creatures that can ooze under a closed door--trying to use 'o' gets rejected for them because they lack hands. Also allow hero in Passes_walls form to use 'c' when at open door spot. (For creatures that ooze under doors, 'c' is rejected just like 'o'.) Unrelated: fix a typo in a recently added comment.
This commit is contained in:
@@ -1129,6 +1129,9 @@ having worn levitation boots removed and destroyed (scroll, monster spell,
|
||||
ensure that all window interfaces respect flags.silent (suppress terminal beep)
|
||||
falling into lava, being life-saved, and teleporting out could yield redundant
|
||||
descriptions of what was present at hero's new location
|
||||
if hero had passes-walls capability and was at the location of a closed door,
|
||||
attempting to use 'o' on own spot reported "you don't find anything
|
||||
here to loot"; change to open door for '.' (or '<'), only loot for '>'
|
||||
|
||||
|
||||
Fixes to 3.7.0-x General Problems Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user