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.
9.5 KiB
9.5 KiB