]> granicus.if.org Git - nethack/commit
fix #H4919 - vomit message sequencing
authorPatR <rankin@nethack.org>
Thu, 21 Sep 2017 23:35:56 +0000 (16:35 -0700)
committerPatR <rankin@nethack.org>
Thu, 21 Sep 2017 23:35:56 +0000 (16:35 -0700)
commit83056d45d78fba85f98f3ecac2804e1660e5feff
treed5691be5ac05f1455ef70a98cedc06f4aa153997
parentc665d732164af9fd66a39a48fa5811576237111a
fix #H4919 - vomit message sequencing

The countdown for delayed vomiting gave message "you suddenly vomit!"
at T-2, allowing you to move some more, then vomit at T-0 with no
message, finally at T+2 get "you can move again", making it seem as
if the program was letting you move during a time it thought that you
couldn't move.  Also, there was nothing "sudden" about it since it was
near the end of a 15 or so turn sequence where a few other messages
are given leading up to that.

Change it to
T-2: You are about to vomit.  // different wording
T-0: You vomit!               // new message
so that "you can move again" more clearly refers to the actual event.
doc/fixes36.1
src/eat.c
src/timeout.c