aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-12-15 16:04:31 +0000
committerTravis Howell2003-12-15 16:04:31 +0000
commitc6737ee5c8215716e3de70ee7c0c76ba1b1798c1 (patch)
treed61bcb3105edc23df89ce988ff3c1fbb7e1d2b39 /scumm/actor.cpp
parent6a9972c5f5009cd334ead9f7b566f95a28a8548f (diff)
downloadscummvm-rg350-c6737ee5c8215716e3de70ee7c0c76ba1b1798c1.tar.gz
scummvm-rg350-c6737ee5c8215716e3de70ee7c0c76ba1b1798c1.tar.bz2
scummvm-rg350-c6737ee5c8215716e3de70ee7c0c76ba1b1798c1.zip
Add comment
svn-id: r11659
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r--scumm/actor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index aee774b485..43bfeaa507 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -471,6 +471,8 @@ void Actor::startAnimActor(int f) {
animProgress = 0;
cost.animCounter = 0;
needRedraw = true;
+ // V1 - V2 games don't seem to need a cost.reset() at this point.
+ // Causes Zak to lose his body in several scenes, see bug #770049
if (_vm->_version >= 3 && f == initFrame)
cost.reset();
_vm->cost_decodeData(this, f, (uint) - 1);