]> granicus.if.org Git - nethack/commitdiff
look vs pickup
authornethack.allison <nethack.allison>
Sun, 1 Jun 2003 17:42:49 +0000 (17:42 +0000)
committernethack.allison <nethack.allison>
Sun, 1 Jun 2003 17:42:49 +0000 (17:42 +0000)
I encountered a look vs pickup cockatrice corpse
bug today.

If you looked at a location with ':', you
would instantly get
"Touching the cockatrice corpse is a fatal mistake..."
but if you used "m," you got the full list of
things at the location to choose from.

This patch makes the behaviour consistent
and more informative to the player.
You now get the partial list of things felt
up until the cockatrice corpse is encountered,
and then you get the
"Touching the cockatrice corpse is a fatal mistake..."

Before, the code was never displaying the partially
built list because the feel_cockatrice() call was
happening before the window display call.

doc/fixes34.2

index 620e5daaaaa296fb15bc1ff5565f9e6a06f5ca61..82f4be6f93283d9335b7be7adfc6bcedefaf2d5e 100644 (file)
@@ -84,6 +84,8 @@ can no longer untrap floor containers during unskilled riding
 can no longer easily set land mines and bear traps during unskilled riding
 refine cmdassist handling for armor vs accessories
 prevent monsters from level teleporting out of the quest into the main dungeon
+"m," command sequence would let you see all objects at a location even when 
+       they included a cockatrice corpse which hero was unequipped to handle
 
 
 Platform- and/or Interface-Specific Fixes