[Scummvm-cvs-logs] scummvm master -> 1e3442ae44e804c17e51d84972092fc459908ece
dreammaster
dreammaster at scummvm.org
Wed Mar 11 03:55:50 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1e3442ae44 MADS: Fix boat hotspot after loading savegame for scene 801
Commit: 1e3442ae44e804c17e51d84972092fc459908ece
https://github.com/scummvm/scummvm/commit/1e3442ae44e804c17e51d84972092fc459908ece
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-10T22:54:47-04:00
Commit Message:
MADS: Fix boat hotspot after loading savegame for scene 801
Changed paths:
engines/mads/nebular/nebular_scenes7.cpp
diff --git a/engines/mads/nebular/nebular_scenes7.cpp b/engines/mads/nebular/nebular_scenes7.cpp
index 6e191b2..96e56b6 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;
More information about the Scummvm-git-logs
mailing list