aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2005-05-24 17:22:09 +0000
committerGregory Montoir2005-05-24 17:22:09 +0000
commit6ac61b55bb6de2d17c92472a5f781226c1b646c3 (patch)
treef03d4972976d53ff193523944916514883a631d5
parent53947124c768a951062153171367f2c9de371495 (diff)
downloadscummvm-rg350-6ac61b55bb6de2d17c92472a5f781226c1b646c3.tar.gz
scummvm-rg350-6ac61b55bb6de2d17c92472a5f781226c1b646c3.tar.bz2
scummvm-rg350-6ac61b55bb6de2d17c92472a5f781226c1b646c3.zip
removed leftover
svn-id: r18243
-rw-r--r--scumm/actor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index efc20a45db..70fb311827 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -1688,7 +1688,7 @@ void Actor::walkActorV12() {
void Actor::walkActorOld() {
Common::Point p2, p3; // Gate locations
- int new_dir, next_box, loopCtr = 0;
+ int new_dir, next_box;
if (!_moving)
return;
@@ -1726,8 +1726,6 @@ void Actor::walkActorOld() {
_moving &= ~MF_NEW_LEG;
do {
- loopCtr++;
-
if (_walkbox == kInvalidBox) {
setBox(_walkdata.destbox);
_walkdata.curbox = _walkdata.destbox;