]> granicus.if.org Git - nethack/commit
obj bypass: move vs turn
authorPatR <rankin@nethack.org>
Sun, 2 Aug 2015 08:54:51 +0000 (01:54 -0700)
committerPatR <rankin@nethack.org>
Sun, 2 Aug 2015 08:54:51 +0000 (01:54 -0700)
commit5e909d3b440a1a3dc79e35876a0fa5136d3878a1
tree4255c72da907fdaa69a7257fd8d60909d3d5e021
parent3db39ca221f34d6f606f7b2854f7f9be7744fce1
obj bypass: move vs turn

Reported by ais; clearing object bypass bits once per turn isn't often
enough.  Clear them after the hero moves (which might be more than once
in a turn) and before each monster moves (ditto) and after last monster
moves.  This might not be optimal but that shouldn't matter since it's
usually a no-op.
src/allmain.c
src/mon.c