Fix crash when closing Kyrandia demo.

svn-id: r27223
This commit is contained in:
Johannes Schickel 2007-06-08 23:04:13 +00:00
parent e42343d4d3
commit b9d77d2d40

View File

@ -110,6 +110,8 @@ KyraEngine::KyraEngine(OSystem *system, const GameFlags &flags)
_curSfxFile = _curMusicTheme = 0;
memset(&_itemBkgBackUp, 0, sizeof(_itemBkgBackUp));
// sets up all engine specific debug levels
Common::addSpecialDebugLevel(kDebugLevelScriptFuncs, "ScriptFuncs", "Script function debug level");
Common::addSpecialDebugLevel(kDebugLevelScript, "Script", "Script interpreter debug level");