[Scummvm-cvs-logs] CVS: scummvm/queen cutaway.cpp,1.69,1.70
Gregory Montoir
cyx at users.sourceforge.net
Mon Nov 17 05:32:15 CET 2003
Update of /cvsroot/scummvm/scummvm/queen
In directory sc8-pr-cvs1:/tmp/cvs-serv31458
Modified Files:
cutaway.cpp
Log Message:
restart person animations at the end of a cutaway (this enables Sparky to animate again after giving Joe his file)
Index: cutaway.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/cutaway.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- cutaway.cpp 16 Nov 2003 20:31:14 -0000 1.69
+++ cutaway.cpp 17 Nov 2003 13:31:00 -0000 1.70
@@ -1364,16 +1364,18 @@
// XXX CUTJOEF=0;
_comPanel = 0;
- // XXX some string animations
int k = 0;
for (i = _logic->roomData(_logic->currentRoom());
i <= _logic->roomData(_logic->currentRoom() + 1); i++) {
- ObjectData *object = _logic->objectData(i);
-
+ ObjectData *object = _logic->objectData(i);
if (object->image == -3 || object->image == -4) {
k++;
- // XXX if (object->name > 0 && _logic->newAnim(
+ if (object->name > 0) {
+ BobSlot *bs = _graphics->bob(k);
+ bs->animating = true;
+ bs->animReset();
+ }
}
}
More information about the Scummvm-git-logs
mailing list