look vs pickup

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.
This commit is contained in:
nethack.allison
2003-06-01 17:42:49 +00:00
parent f65a13cfbe
commit 70b0a44a80

View 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