[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.291,1.292
Travis Howell
kirben at users.sourceforge.net
Sat Sep 18 20:28:03 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21101/scumm
Modified Files:
actor.cpp
Log Message:
Missed one spot, needed for costume reset too.
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.291
retrieving revision 1.292
diff -u -d -r1.291 -r1.292
--- actor.cpp 19 Sep 2004 02:00:33 -0000 1.291
+++ actor.cpp 19 Sep 2004 03:26:47 -0000 1.292
@@ -492,8 +492,10 @@
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 #771508
- if (_vm->_version >= 3 && f == initFrame)
+ if (_vm->_version >= 3 && f == initFrame) {
cost.reset();
+ auxBlock.visible = false;
+ }
if (_vm->_features & GF_NEW_COSTUMES)
_vm->akos_decodeData(this, f, (uint) - 1);
else
@@ -1358,6 +1360,7 @@
if (_vm->_features & GF_NEW_COSTUMES) {
cost.reset();
+ auxBlock.visible = false;
memset(animVariable, 0, sizeof(animVariable));
costume = c;
More information about the Scummvm-git-logs
mailing list