aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2005-05-24 14:36:06 +0000
committerEugene Sandulenko2005-05-24 14:36:06 +0000
commit067bfe518b6e09d2c2edd4e1b42c705c45c98d68 (patch)
treeeb442f360ca8c2989b656ba4c3b60c3ce99127e5
parent85ceaba67574642b48d308038a6af3fd3c53d108 (diff)
downloadscummvm-rg350-067bfe518b6e09d2c2edd4e1b42c705c45c98d68.tar.gz
scummvm-rg350-067bfe518b6e09d2c2edd4e1b42c705c45c98d68.tar.bz2
scummvm-rg350-067bfe518b6e09d2c2edd4e1b42c705c45c98d68.zip
Bug #862245 "MANIAC: Walk infinite loop in bathroom (hack-in-cvs)" has been
automagically fixed long time ago does not require hack anymore. svn-id: r18241
-rw-r--r--scumm/actor.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 708c378084..efc20a45db 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1783,13 +1783,6 @@ void Actor::walkActorOld() {
return;
setBox(_walkdata.destbox);
-
- // FIXME: Ender added this recursion counter as a hack around
- // a infinite loop in Maniac V1 - see bug #862245
- if (loopCtr > 100) {
- _moving |= MF_LAST_LEG;
- return;
- }
} while (1);
_moving |= MF_LAST_LEG;