[Scummvm-cvs-logs] CVS: scummvm/scumm actor.cpp,1.213,1.214
Max Horn
fingolfin at users.sourceforge.net
Tue Jan 13 19:08:01 CET 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv30482
Modified Files:
actor.cpp
Log Message:
... and so we are back at precisely my original code, wasn't it fun? :-)
Index: actor.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -d -r1.213 -r1.214
--- actor.cpp 14 Jan 2004 01:54:04 -0000 1.213
+++ actor.cpp 14 Jan 2004 03:07:29 -0000 1.214
@@ -1217,18 +1217,14 @@
costumeNeedsInit = true;
if (_vm->_features & GF_NEW_COSTUMES) {
+ cost.reset();
memset(animVariable, 0, sizeof(animVariable));
+ costume = c;
if (visible) {
- cost.reset();
- costume = c;
if (costume) {
_vm->ensureResourceLoaded(rtCostume, costume);
}
- startAnimActor(initFrame);
- } else {
- costume = c;
- cost.reset();
}
} else {
if (visible) {
More information about the Scummvm-git-logs
mailing list