aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2010-09-04 11:27:03 +0000
committerMartin Kiewitz2010-09-04 11:27:03 +0000
commit7836bb87fda6d166786036a33987c5c75bfbce15 (patch)
tree8448788a6b763cd6c889518aa36777bf044959fa /engines
parente7f834e1030fadd0bc8dd0ace0a0f2c47e5765ba (diff)
downloadscummvm-rg350-7836bb87fda6d166786036a33987c5c75bfbce15.tar.gz
scummvm-rg350-7836bb87fda6d166786036a33987c5c75bfbce15.tar.bz2
scummvm-rg350-7836bb87fda6d166786036a33987c5c75bfbce15.zip
SCI: fixing typo in kDoAvoider
svn-id: r52520
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kmovement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp
index bc02edc1dd..4758167285 100644
--- a/engines/sci/engine/kmovement.cpp
+++ b/engines/sci/engine/kmovement.cpp
@@ -497,7 +497,7 @@ reg_t kDoAvoider(EngineState *s, int argc, reg_t *argv) {
break; // break out
}
- clientHeading += avoiderHeading;
+ newHeading += avoiderHeading;
if (newHeading >= 360)
newHeading -= 360;
if (newHeading < 0)