diff options
author | Filippos Karapetis | 2013-05-01 01:37:46 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-01 01:51:12 +0300 |
commit | 012a5ef040d32312a0626fe0be6dbdaf1a2424e4 (patch) | |
tree | f3eca1c36637e0b2dfc9e7357996519577cba13c | |
parent | 3012aaa14f2fb4db2139214e9a7a838913ed9a6b (diff) | |
download | scummvm-rg350-012a5ef040d32312a0626fe0be6dbdaf1a2424e4.tar.gz scummvm-rg350-012a5ef040d32312a0626fe0be6dbdaf1a2424e4.tar.bz2 scummvm-rg350-012a5ef040d32312a0626fe0be6dbdaf1a2424e4.zip |
SCI: Fix a non-initialized variable in GfxCursor - CID 1003112
-rw-r--r-- | engines/sci/graphics/cursor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/graphics/cursor.cpp b/engines/sci/graphics/cursor.cpp index 6b986ce7a2..a9c741670f 100644 --- a/engines/sci/graphics/cursor.cpp +++ b/engines/sci/graphics/cursor.cpp @@ -69,6 +69,10 @@ GfxCursor::GfxCursor(ResourceManager *resMan, GfxPalette *palette, GfxScreen *sc _useSilverSQ4CDCursors = ConfMan.getBool("silver_cursors"); else _useSilverSQ4CDCursors = false; + + // _coordAdjuster and _event will be initialized later on + _coordAdjuster = NULL; + _event = NULL; } GfxCursor::~GfxCursor() { |