From f99932b72aa31f39bfdf78ffe03c4d52b209097b Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sat, 15 Aug 2009 00:28:59 +0000 Subject: SCI: Added enum for map and volume versions. Removed res_version setting from detection.cpp (should be detectable). Cleanup. svn-id: r43390 --- engines/sci/gfx/gfx_resmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/gfx') diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp index bf1c88b4d6..fbae7105c9 100644 --- a/engines/sci/gfx/gfx_resmgr.cpp +++ b/engines/sci/gfx/gfx_resmgr.cpp @@ -55,7 +55,7 @@ GfxResManager::GfxResManager(gfx_options_t *options, GfxDriver *driver, Resource gfxr_init_static_palette(); _portBounds = Common::Rect(0, 10, 320, 200); // default value, with a titlebar of 10px - _version = resManager->_volVersion; + _version = resManager->sciVersion(); // Workaround for QFG1 VGA (has SCI 1.1 view data with SCI 1 compression) if (_version == SCI_VERSION_1 && !strcmp(((SciEngine*)g_engine)->getGameID(), "qfg1")) { -- cgit v1.2.3