aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/nebular_scenes1.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-15 10:16:02 +0300
committerFilippos Karapetis2014-05-15 10:16:02 +0300
commitf46dc0a44ebcd3dd48154fd09b468e7d01b7e4c8 (patch)
treea64122098a51001611c06234e2bb5772ef11d149 /engines/mads/nebular/nebular_scenes1.cpp
parent9fcebd296a1828831e052fbd55181363e252bbaa (diff)
downloadscummvm-rg350-f46dc0a44ebcd3dd48154fd09b468e7d01b7e4c8.tar.gz
scummvm-rg350-f46dc0a44ebcd3dd48154fd09b468e7d01b7e4c8.tar.bz2
scummvm-rg350-f46dc0a44ebcd3dd48154fd09b468e7d01b7e4c8.zip
MADS: Add a dummy implementation of setMotion()
This resolves the FIXME in scene 109
Diffstat (limited to 'engines/mads/nebular/nebular_scenes1.cpp')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index f317b2832d..b2e07dc0e6 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -2455,8 +2455,7 @@ void Scene109::step() {
_hungryFl = true;
}
- // FIXME: The fish animation never moves, so x is never updated and the scene freezes
- if (_eatingFirstFish /*&& (_scene->_sequences[_globals._sequenceIndexes[10]]._msgPos.x >= 178)*/) {
+ if (_eatingFirstFish && (_scene->_sequences[_globals._sequenceIndexes[10]]._msgPos.x >= 178)) {
_globals._sequenceIndexes[9] = _scene->_sequences.addSpriteCycle(_globals._spriteIndexes[9], false, 4, 1, 0, 0);
_scene->_sequences.setDepth(_globals._sequenceIndexes[9], 4);
_scene->_sequences.addSubEntry(_globals._sequenceIndexes[9], SEQUENCE_TRIGGER_SPRITE, 29, 72);