aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-30 21:52:46 +0000
committerFilippos Karapetis2009-03-30 21:52:46 +0000
commit6b499ebf4b3a04a9ae79669db5bf794a4439c3e1 (patch)
treee7951b75f3434feef46d0567af25e4e707a2e1ea /engines
parent936482f03c9d7009797edf837719a4cb19df2f67 (diff)
downloadscummvm-rg350-6b499ebf4b3a04a9ae79669db5bf794a4439c3e1.tar.gz
scummvm-rg350-6b499ebf4b3a04a9ae79669db5bf794a4439c3e1.tar.bz2
scummvm-rg350-6b499ebf4b3a04a9ae79669db5bf794a4439c3e1.zip
Initialize _staticPalette when creating the graphics resource manager. This allows KQ6 to start (and then sit idly doing nothing in the main menu :) )
svn-id: r39769
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gfx/gfx_resmgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp
index a7e22129ec..3533d7c067 100644
--- a/engines/sci/gfx/gfx_resmgr.cpp
+++ b/engines/sci/gfx/gfx_resmgr.cpp
@@ -50,7 +50,7 @@ struct param_struct {
GfxResManager::GfxResManager(int version, gfx_options_t *options, gfx_driver_t *driver, ResourceManager *resManager) :
_version(version), _options(options), _driver(driver), _resManager(resManager),
- _lockCounter(0), _tagLockCounter(0) {
+ _lockCounter(0), _tagLockCounter(0), _staticPalette(0) {
gfxr_init_static_palette();
if (_version < SCI_VERSION_01_VGA) {