GUI: More object initialization cleanup

This commit is contained in:
Eugene Sandulenko 2016-06-01 12:10:33 +02:00
parent b590cc2d8f
commit c7ad2155fc
4 changed files with 13 additions and 1 deletions

View file

@ -311,6 +311,12 @@ ThemeEngine::ThemeEngine(Common::String id, GraphicsMode mode) :
_themeArchive = 0;
_initOk = false;
_cursorHotspotX = _cursorHotspotY = 0;
_cursorWidth = _cursorHeight = 0;
_cursorPalSize = 0;
_needPaletteUpdates = false;
// We prefer files in archive bundles over the common search paths.
_themeFiles.add("default", &SearchMan, 0, false);
}