]> granicus.if.org Git - nethack/commit
occupation vs running
authorPatR <rankin@nethack.org>
Mon, 28 Dec 2015 23:10:22 +0000 (15:10 -0800)
committerPatR <rankin@nethack.org>
Mon, 28 Dec 2015 23:10:22 +0000 (15:10 -0800)
commita05826d06d810dc56afa45c534626f4fba281f87
treee57287fe6fbc4572d545596e278b588d9a0e08e8
parent901317f57c5b2b65a99c0d23d3e1183c7213c7ea
occupation vs running

Noticed while testing a potential change to running while confused:
when confusion timed out, I kept running even though I was headed in
the wrong direction.  Timeout calls stop_occupation() but running is
not an occupation.

Make stop_occupation() also stop counted activity under control of
the player (ie, multi > 0).  Some places in the code use both
stop_occuation() and nomul(0), some just use one or the other.  But
most of those probably intend for both.
src/allmain.c