diff options
author | Travis Howell | 2004-02-21 11:37:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-21 11:37:52 +0000 |
commit | 580a2ffcfe549aac41606a2e30e15faadb9c6c0d (patch) | |
tree | 4ec23033802f1b08efdd9e8df6ccfde3aa517df9 /scumm | |
parent | 56eea4abcc6572900cacaa4d56a5107beff1dee7 (diff) | |
download | scummvm-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')
-rw-r--r-- | scumm/actor.cpp | 4 |
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; |