aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2010-03-16 08:59:48 +0000
committerTravis Howell2010-03-16 08:59:48 +0000
commitb968a69468f2806f46457af01d8f764957fdd8a4 (patch)
treebed3a06538244c66b386c81e030eeec498f04d80 /engines/scumm/actor.cpp
parenta7e6397fa417cf64fa6f99a919ea0fbad5de616e (diff)
downloadscummvm-rg350-b968a69468f2806f46457af01d8f764957fdd8a4.tar.gz
scummvm-rg350-b968a69468f2806f46457af01d8f764957fdd8a4.tar.bz2
scummvm-rg350-b968a69468f2806f46457af01d8f764957fdd8a4.zip
Add patch #2970176 - V0: MM Verb + Anim Fix.
svn-id: r48269
Diffstat (limited to 'engines/scumm/actor.cpp')
-rw-r--r--engines/scumm/actor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index bb3617f8b2..5c314e844a 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -215,6 +215,12 @@ void ScummEngine::walkActors() {
void Actor::stopActorMoving() {
if (_walkScript)
_vm->stopScript(_walkScript);
+
+ // V0 Games will walk on the spot if the actor is stopped mid-walk
+ // So we must set the stand still frame
+ if (_vm->_game.version == 0)
+ startWalkAnim(3, -1);
+
_moving = 0;
}