From 3b411f65767256f3d55fd361a253d06f6426654c Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 31 Jan 2010 17:30:58 +0000 Subject: Fix compile without ENABLE_SCI32 set. svn-id: r47761 --- engines/sci/sci.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci') diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 4cf7b21ca2..2c3319745b 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -178,14 +178,14 @@ Common::Error SciEngine::run() { _gamestate->_gui = 0; _gamestate->_gui32 = new SciGui32(_gamestate, screen, palette, cache, cursor); } else { +#endif _gamestate->_gfxPorts = new GfxPorts(segMan, screen); _gamestate->_gui = new SciGui(_gamestate, screen, palette, cache, cursor, _gamestate->_gfxPorts, _audio); +#ifdef ENABLE_SCI32 _gamestate->_gui32 = 0; } -#else - _gamestate->_ports = new GfxPorts(_segMan, _screen); - _gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor, _audio); #endif + _gamestate->_gfxPalette = palette; _gamestate->_gfxScreen = screen; _gamestate->_gfxCache = cache; -- cgit v1.2.3