]> granicus.if.org Git - nethack/commit
restful sleep bit (trunk only)
authornethack.rankin <nethack.rankin>
Tue, 27 May 2008 04:49:43 +0000 (04:49 +0000)
committernethack.rankin <nethack.rankin>
Tue, 27 May 2008 04:49:43 +0000 (04:49 +0000)
commit6a259a1464af762adb31645c97f306d49c91d73f
treee4f4153956f454e1fd4143d3515cc9ef84323e3b
parent9dce52ea987c566a58d7db22cbbda271279871f1
restful sleep bit (trunk only)

     A change yesterday made putting on an amulet of restful sleep avoid
clobbering the timeout from having already eaten one, only replace it if
the new timeout is shorter.  This does the inverse; when eating one, if
you're already sleepy from also wearing that type of amulet, only replace
the timeout if new one is shorter.  And don't clobber the other intrinsic
bits with FROMOUTSIDE, just add it to whatever ones might already be set.
Neither should have any observable effect on game play, so no fixes entry.
src/eat.c