aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-09-24 18:46:18 +1000
committerPaul Gilbert2011-09-24 18:46:18 +1000
commit3d2b4cc472c613a118a23e70c3e9247154287434 (patch)
treec3e077ac628803992b179d9c9ab60c87939a2633 /engines/tsage
parent32bef97bc9c2dad62ff44ad7ebc8722cafcfcda6 (diff)
downloadscummvm-rg350-3d2b4cc472c613a118a23e70c3e9247154287434.tar.gz
scummvm-rg350-3d2b4cc472c613a118a23e70c3e9247154287434.tar.bz2
scummvm-rg350-3d2b4cc472c613a118a23e70c3e9247154287434.zip
TSAGE: Bugfix for loading Blue Force scene 900
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes9.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes9.cpp b/engines/tsage/blue_force/blueforce_scenes9.cpp
index e39746a9fe..a7d60f7fbb 100644
--- a/engines/tsage/blue_force/blueforce_scenes9.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes9.cpp
@@ -422,6 +422,9 @@ Scene900::Scene900(): PalettedScene() {
}
void Scene900::postInit(SceneObjectList *OwnerList) {
+ PalettedScene::postInit();
+ loadScene(900);
+
if (BF_GLOBALS._sceneManager._previousScene == 910)
BF_GLOBALS._sound1.changeSound(91);
_field1974 = 0;
@@ -433,7 +436,6 @@ void Scene900::postInit(SceneObjectList *OwnerList) {
BF_INVENTORY.setObjectScene(INV_FISHING_NET, 1);
BF_INVENTORY.setObjectScene(INV_HOOK, 1);
}
- PalettedScene::postInit();
_object3._flag = 0;
if (BF_GLOBALS._bookmark >= bFinishedWGreen) {
_object7.postInit();
@@ -450,7 +452,7 @@ void Scene900::postInit(SceneObjectList *OwnerList) {
}
if (BF_INVENTORY.getObjectScene(INV_FISHING_NET) == 900)
_object3._flag = 1;
- loadScene(900);
+
_stripManager.addSpeaker(&_gameTextSpeaker);
_stripManager.addSpeaker(&_jakeJacketSpeaker);
_stripManager.addSpeaker(&_lyleHatSpeaker);