]> granicus.if.org Git - nethack/commit
fix #Q295 - post-choking food side-effects
authornethack.rankin <nethack.rankin>
Thu, 8 Feb 2007 23:33:14 +0000 (23:33 +0000)
committernethack.rankin <nethack.rankin>
Thu, 8 Feb 2007 23:33:14 +0000 (23:33 +0000)
commit1fe4018f3bf3e98f26eb1517b77735a896dcad74
treec0a29320cd0b6f7fbd146531c03cf9dd0bf4f7db
parent8c982b0e052cf870539a41734b4bf9e07b2ed080
fix #Q295 - post-choking food side-effects

     From a bug report, but
just received:  if you choked while eating a cockatrice egg and survived,
the turn-to-stone sequence wouldn't be initiated.  For such eggs, turning
to stone starts when the food is finished rather than when it's started,
and fpostfx() wasn't called for food that triggered choking so the egg
went away without actually being finished.  Fortune cookies, lumps of
royal jelly, and a few other things suffered from the same situation.
doc/fixes34.4
src/eat.c