]> granicus.if.org Git - nethack/commit
R06006 - travel command infinite loop
authorcohrs <cohrs>
Sun, 4 Aug 2002 23:04:56 +0000 (23:04 +0000)
committercohrs <cohrs>
Sun, 4 Aug 2002 23:04:56 +0000 (23:04 +0000)
commit2d21a12ad51e8d21e0e99f038c3edc61bda22d00
treed1483aaa7b4c51636a860488767aacdc4d2e01b6
parent4fd1cc98a9eb5a381011ecfdbb2760fb7d66575c
R06006 - travel command infinite loop
The problem was caused by a test that was added to test_move() to test the
move as a regular move if it was the next step.  This case affected
boulders and closed doors, both of which are handled in later in do_move().
Remove the check.  I think this was something I thought was needed for an
intermediary version of the travel command fix, but turned out to be
detrimental in the current version.
src/hack.c