]> granicus.if.org Git - nethack/commit
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)
commit70b0a44a80629ec44267e89d9ba22f3af21db5ea
treea67f080e646675c2e36c04c23bc772dbe0ce58c7
parentf65a13cfbe790fac8d347e83ce4ff9002d98a37b
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.
doc/fixes34.2