diff options
author | strangerke | 2011-05-28 07:59:34 +0200 |
---|---|---|
committer | strangerke | 2011-05-28 07:59:34 +0200 |
commit | 1bd2f50dee281a82627df464ae7532f4279c725c (patch) | |
tree | d783402193ba5fa24fae25676e698dea3c046da0 /engines/tsage/ringworld_scenes3.cpp | |
parent | a7580aee6674fb67647f24bd851b2bd2b66c9bf8 (diff) | |
download | scummvm-rg350-1bd2f50dee281a82627df464ae7532f4279c725c.tar.gz scummvm-rg350-1bd2f50dee281a82627df464ae7532f4279c725c.tar.bz2 scummvm-rg350-1bd2f50dee281a82627df464ae7532f4279c725c.zip |
TSAGE: Fix crash when restoring a game in scene 2100
Diffstat (limited to 'engines/tsage/ringworld_scenes3.cpp')
-rw-r--r-- | engines/tsage/ringworld_scenes3.cpp | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/engines/tsage/ringworld_scenes3.cpp b/engines/tsage/ringworld_scenes3.cpp index 38a4afc0f7..dc6cd17cd7 100644 --- a/engines/tsage/ringworld_scenes3.cpp +++ b/engines/tsage/ringworld_scenes3.cpp @@ -1530,15 +1530,23 @@ void Scene2100::Object3::doAction(int action) { /*--------------------------------------------------------------------------*/ Scene2100::Scene2100() : - _hotspot1(0, CURSOR_LOOK, 2100, 2, LIST_END), - _hotspot5(0, CURSOR_LOOK, 2100, 9, LIST_END), - _hotspot6(0, CURSOR_LOOK, 2100, 7, CURSOR_USE, 2100, 8, LIST_END), - _hotspot7(0, CURSOR_LOOK, 2100, 7, CURSOR_USE, 2100, 11, LIST_END), - _hotspot9(0, CURSOR_LOOK, 2100, 14, LIST_END), - _hotspot11(0, CURSOR_LOOK, 2100, 15, CURSOR_USE, 2100, 16, LIST_END), - _hotspot12(0, CURSOR_LOOK, 2100, 24, CURSOR_USE, 2100, 25, LIST_END), - _hotspot13(0, CURSOR_LOOK, 2100, 17, LIST_END), - _hotspot15(0, CURSOR_LOOK, 2100, 22, CURSOR_USE, 2100, 23, LIST_END) { + _hotspot1(0, CURSOR_LOOK, 2100, 2, LIST_END), + _hotspot5(0, CURSOR_LOOK, 2100, 9, LIST_END), + _hotspot6(0, CURSOR_LOOK, 2100, 7, CURSOR_USE, 2100, 8, LIST_END), + _hotspot7(0, CURSOR_LOOK, 2100, 7, CURSOR_USE, 2100, 11, LIST_END), + _hotspot9(0, CURSOR_LOOK, 2100, 14, LIST_END), + _hotspot11(0, CURSOR_LOOK, 2100, 15, CURSOR_USE, 2100, 16, LIST_END), + _hotspot12(0, CURSOR_LOOK, 2100, 24, CURSOR_USE, 2100, 25, LIST_END), + _hotspot13(0, CURSOR_LOOK, 2100, 17, LIST_END), + _hotspot15(0, CURSOR_LOOK, 2100, 22, CURSOR_USE, 2100, 23, LIST_END) { + _area1.setup(2153, 2, 1, 2100); + _area1._pt = Common::Point(200, 31); + _area2.setup(2153, 3, 1, 2150); + _area2._pt = Common::Point(200, 50); + _area3.setup(2153, 4, 1, 2320); + _area3._pt = Common::Point(200, 75); + _area4.setup(2153, 1, 1, OBJECT_TRANSLATOR); + _area4._pt = Common::Point(237, 77); } void Scene2100::postInit(SceneObjectList *OwnerList) { @@ -1665,15 +1673,6 @@ void Scene2100::postInit(SceneObjectList *OwnerList) { &_hotspot13, &_hotspot12, &_hotspot8, &_object1, &_hotspot2, &_hotspot3, &_hotspot4, &_hotspot5, &_hotspot6, &_hotspot7, &_hotspot1, NULL); - _area1.setup(2153, 2, 1, 2100); - _area1._pt = Common::Point(200, 31); - _area2.setup(2153, 3, 1, 2150); - _area2._pt = Common::Point(200, 50); - _area3.setup(2153, 4, 1, 2320); - _area3._pt = Common::Point(200, 75); - _area4.setup(2153, 1, 1, OBJECT_TRANSLATOR); - _area4._pt = Common::Point(237, 77); - _globals->_player.postInit(); if (_globals->getFlag(13)) { _globals->_player.setVisage(2170); |