aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-06 23:34:57 -0400
committerPaul Gilbert2015-05-06 23:34:57 -0400
commit6c41a9be524385f16c33041885a7f5c4603a0f0e (patch)
treed419c6b4186182467a8c6fa2bd9dd41d8d58c2e0 /engines
parentd8673cfe44126f1d24ec0cff82a3407e9f891d7b (diff)
downloadscummvm-rg350-6c41a9be524385f16c33041885a7f5c4603a0f0e.tar.gz
scummvm-rg350-6c41a9be524385f16c33041885a7f5c4603a0f0e.tar.bz2
scummvm-rg350-6c41a9be524385f16c33041885a7f5c4603a0f0e.zip
SHERLOCK: Fix looking at Paul's Cap immediately after entering a scene
Diffstat (limited to 'engines')
-rw-r--r--engines/sherlock/people.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/people.cpp b/engines/sherlock/people.cpp
index 5c4014f1a2..8f7b957db6 100644
--- a/engines/sherlock/people.cpp
+++ b/engines/sherlock/people.cpp
@@ -240,6 +240,9 @@ void People::reset() {
p._noShapeSize = Common::Point(0, 0);
p._goto = Common::Point(0, 0);
p._status = 0;
+
+ // Reset any walk path in progress when Sherlock leaves scenes
+ _walkTo.clear();
}
/**