SCI: Fix a non-initialized variable in GfxCursor - CID 1003112
This commit is contained in:
parent
3012aaa14f
commit
012a5ef040
1 changed files with 4 additions and 0 deletions
|
@ -69,6 +69,10 @@ GfxCursor::GfxCursor(ResourceManager *resMan, GfxPalette *palette, GfxScreen *sc
|
||||||
_useSilverSQ4CDCursors = ConfMan.getBool("silver_cursors");
|
_useSilverSQ4CDCursors = ConfMan.getBool("silver_cursors");
|
||||||
else
|
else
|
||||||
_useSilverSQ4CDCursors = false;
|
_useSilverSQ4CDCursors = false;
|
||||||
|
|
||||||
|
// _coordAdjuster and _event will be initialized later on
|
||||||
|
_coordAdjuster = NULL;
|
||||||
|
_event = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
GfxCursor::~GfxCursor() {
|
GfxCursor::~GfxCursor() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue