From c08e54fde105637082ee7eb79eeacd1cb4137d57 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 23 Jan 2015 21:12:35 -0500 Subject: XEEN: Implement further script opcodes --- engines/xeen/xeen.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/xeen/xeen.cpp') diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp index 99adbb3a41..8489f86ed5 100644 --- a/engines/xeen/xeen.cpp +++ b/engines/xeen/xeen.cpp @@ -48,7 +48,6 @@ XeenEngine::XeenEngine(OSystem *syst, const XeenGameDescription *gameDesc) _scripts = nullptr; _sound = nullptr; _eventData = nullptr; - _loadDarkSide = 1; _dangerSenseAllowed = false; _noDirectionSense = false; _moveMonsters = false; @@ -287,8 +286,8 @@ void XeenEngine::play() { _screen->loadPalette("mm4.pal"); _interface->loadPartyIcons(); - if (getGameID() != GType_WorldOfXeen && !_loadDarkSide) { - _loadDarkSide = true; + if (getGameID() != GType_WorldOfXeen && !_map->_loadDarkSide) { + _map->_loadDarkSide = true; _party->_mazeId = 29; _party->_mazeDirection = DIR_NORTH; _party->_mazePosition.x = 25; -- cgit v1.2.3