From 3d2b4cc472c613a118a23e70c3e9247154287434 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 24 Sep 2011 18:46:18 +1000 Subject: TSAGE: Bugfix for loading Blue Force scene 900 --- engines/tsage/blue_force/blueforce_scenes9.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/tsage/blue_force') 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); -- cgit v1.2.3