aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-03-06 12:28:29 +0000
committerJames Brown2002-03-06 12:28:29 +0000
commitbe61a19dc552585b0e3beff5d931a4559d73366d (patch)
treef0dcf4172908ac2b479b1c79e39c589928348deb
parent178540c989efad3423acec5b143f63eb3389368d (diff)
downloadscummvm-rg350-be61a19dc552585b0e3beff5d931a4559d73366d.tar.gz
scummvm-rg350-be61a19dc552585b0e3beff5d931a4559d73366d.tar.bz2
scummvm-rg350-be61a19dc552585b0e3beff5d931a4559d73366d.zip
Fixed typo.
svn-id: r3666
-rw-r--r--actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/actor.cpp b/actor.cpp
index e24740d51a..3650c9e68a 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -480,7 +480,7 @@ AdjustBoxResult Scumm::adjustXYToBeInBox(Actor *a, int x, int y, int pathfrom) {
while(1) {
iterations++;
- if (iterations > 3000000) return abr; /* Safety net */
+ if (iterations > 1000) return abr; /* Safety net */
box = getNumBoxes() - 1;
best = (uint)0xFFFF;
b = 0;