gil@svax.cs.cornell.edu (Gil Neiger) (06/23/88)
There is a bug in nethack with regard to confusion and praying. If you have been polymorphed into a bat, a yellow light, or an invisible stalker, you are confused regardless of the value of HConfusion. If you pray, the game will keep setting HConfusion to 0 until you are not confused (i.e., forever). This can be fixed by changed "in_trouble()" to look at HConfusion instead of Confusion. - Gil Neiger