aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sherlock/people.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp
index 2eff1a0973..ed6e0607bd 100644
--- a/engines/sherlock/people.cpp
+++ b/engines/sherlock/people.cpp
@@ -386,7 +386,9 @@ void People::setWalking() {
// If we're on the overhead map, set the sequence so we keep moving
// in the same direction
- _player._sequenceNumber = (oldDirection == -1) ? MAP_RIGHT : oldDirection;
+ if (map._active) {
+ _player._sequenceNumber = (oldDirection == -1) ? MAP_RIGHT : oldDirection;
+ }
// Set the delta x
_player._delta.x = (delta.x * 100) / (delta.y / speed.y);