aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-02-21 11:37:52 +0000
committerTravis Howell2004-02-21 11:37:52 +0000
commit580a2ffcfe549aac41606a2e30e15faadb9c6c0d (patch)
tree4ec23033802f1b08efdd9e8df6ccfde3aa517df9 /scumm/actor.cpp
parent56eea4abcc6572900cacaa4d56a5107beff1dee7 (diff)
downloadscummvm-rg350-580a2ffcfe549aac41606a2e30e15faadb9c6c0d.tar.gz
scummvm-rg350-580a2ffcfe549aac41606a2e30e15faadb9c6c0d.tar.bz2
scummvm-rg350-580a2ffcfe549aac41606a2e30e15faadb9c6c0d.zip
Add a few more actor inits. for later games.
svn-id: r12962
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 9ee8d1db41..1a8deeb7bb 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -76,6 +76,8 @@ void Actor::initActor(int mode) {
_pos.x = 0;
_pos.y = 0;
facing = 180;
+ if (_vm->_version >= 7)
+ visible = 0;
} else if (mode == 2) {
facing = 180;
}
@@ -100,6 +102,8 @@ void Actor::initActor(int mode) {
setActorWalkSpeed(8, 2);
animSpeed = 0;
+ if (_vm->_version >= 6)
+ animProgress = 0;
ignoreBoxes = false;
forceClip = (_vm->_version >= 7) ? 100 : 0;