diff options
Diffstat (limited to 'engines/sci/engine/kmovement.cpp')
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 2 |
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) |