aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-10 22:54:47 -0400
committerPaul Gilbert2015-03-10 22:54:47 -0400
commit1e3442ae44e804c17e51d84972092fc459908ece (patch)
treee811047b76c62e4829629998878e133dbf40bd58 /engines/mads
parente18a0af32b77901419865ccc8942c66cbd88e8bd (diff)
downloadscummvm-rg350-1e3442ae44e804c17e51d84972092fc459908ece.tar.gz
scummvm-rg350-1e3442ae44e804c17e51d84972092fc459908ece.tar.bz2
scummvm-rg350-1e3442ae44e804c17e51d84972092fc459908ece.zip
MADS: Fix boat hotspot after loading savegame for scene 801
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/nebular/nebular_scenes7.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes7.cpp b/engines/mads/nebular/nebular_scenes7.cpp
index 6e191b2eef..96e56b639a 100644
--- a/engines/mads/nebular/nebular_scenes7.cpp
+++ b/engines/mads/nebular/nebular_scenes7.cpp
@@ -155,10 +155,13 @@ void Scene701::enter() {
_globals._sequenceIndexes[6] = _scene->_sequences.startPingPongCycle(_globals._spriteIndexes[6], false, 20, 0, 0, 0);
_scene->_sequences.setDepth(_globals._sequenceIndexes[6], 10);
break;
- case BOAT_TIED:
+ case BOAT_TIED: {
_globals._sequenceIndexes[2] = _scene->_sequences.startCycle(_globals._spriteIndexes[2], false, -1);
_scene->_sequences.setDepth(_globals._sequenceIndexes[2], 9);
+ int idx = _scene->_dynamicHotspots.add(837, 759, _globals._sequenceIndexes[2], Common::Rect());
+ _scene->_dynamicHotspots.setPosition(idx, Common::Point(231, 127), FACING_NORTH);
break;
+ }
case BOAT_GONE:
_scene->_hotspots.activate(NOUN_BOAT, false);
break;