]> granicus.if.org Git - nethack/commit
vomiting while fainting
authorPatR <rankin@nethack.org>
Tue, 14 Nov 2017 23:31:26 +0000 (15:31 -0800)
committerPatR <rankin@nethack.org>
Tue, 14 Nov 2017 23:31:26 +0000 (15:31 -0800)
commit761180ce3613f2f588443503de786ccf221e56bf
tree3c208035af2e48e4e44c2074e97ceee18b7eaa46
parent18aab1ab12f8e5033629e8a701287a5645c8455c
vomiting while fainting

From a beta-tester running 3.6.0:
|You faint from lack of food.
|You suddenly vomit!

The latter has already been changed to "You vomit" (it's given at the
end of a multiple-message vomiting countdown so wasn't "sudden") but is
still odd if your stomach is so empty that you're subject to fainting.
Give an alternate message in that case:
|Your stomach heaves convulsively!

Vomiting while unconscious (when that's due to something other than
fainting from hunger) should pose a risk of choking to death, but I'm
going to pretend that this hasn't occurred to me....
doc/fixes36.1
src/eat.c
src/timeout.c