aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorGregory Montoir2003-11-17 13:31:00 +0000
committerGregory Montoir2003-11-17 13:31:00 +0000
commiteed9a5d9ce1b0ee65f37a54d25b1fa0e582c7ecc (patch)
tree9abd0be8a1376e9818a31b55a11e21242af91bfc /queen
parentf15f8d29bf92fbbcd1c25004671cc9a1f3490d84 (diff)
downloadscummvm-rg350-eed9a5d9ce1b0ee65f37a54d25b1fa0e582c7ecc.tar.gz
scummvm-rg350-eed9a5d9ce1b0ee65f37a54d25b1fa0e582c7ecc.tar.bz2
scummvm-rg350-eed9a5d9ce1b0ee65f37a54d25b1fa0e582c7ecc.zip
restart person animations at the end of a cutaway (this enables Sparky to animate again after giving Joe his file)
svn-id: r11322
Diffstat (limited to 'queen')
-rw-r--r--queen/cutaway.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp
index c6e966c52b..06d6744741 100644
--- a/queen/cutaway.cpp
+++ b/queen/cutaway.cpp
@@ -1364,16 +1364,18 @@ void Cutaway::run(char *nextFilename) {
// 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();
+ }
}
}