TSAGE: Bugfix for using lift after restoring a savegame in scene #2320

This commit is contained in:
Paul Gilbert 2011-05-27 19:08:36 +10:00
parent 48140a012d
commit fb4bdae4c7

View File

@ -5770,6 +5770,14 @@ Scene2320::Scene2320() :
_hotspot4(0, CURSOR_LOOK, 2320, 14, LIST_END),
_hotspot13(0, CURSOR_LOOK, 2320, 12, 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, 10);
_area4._pt = Common::Point(237, 77);
}
void Scene2320::postInit(SceneObjectList *OwnerList) {
@ -5822,15 +5830,6 @@ void Scene2320::postInit(SceneObjectList *OwnerList) {
_globals->_sceneItems.push_back(&_hotspot8);
}
_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, 10);
_area4._pt = Common::Point(237, 77);
if (_globals->getFlag(43)) {
_hotspot11.postInit();
_hotspot11.setVisage(2705);