SCI: Fix a non-initialized variable in GfxCursor - CID 1003112

This commit is contained in:
Filippos Karapetis 2013-05-01 01:37:46 +03:00
parent 3012aaa14f
commit 012a5ef040

View File

@ -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() {