diff options
author | Johannes Schickel | 2007-06-08 23:04:13 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-06-08 23:04:13 +0000 |
commit | b9d77d2d402c51c324f33bb588485ea11345fd6a (patch) | |
tree | ce3a1d9ff7648eafa633b2b94630b46d56a9af3d | |
parent | e42343d4d3989e124643c1733e0f62d8e4f5c838 (diff) | |
download | scummvm-rg350-b9d77d2d402c51c324f33bb588485ea11345fd6a.tar.gz scummvm-rg350-b9d77d2d402c51c324f33bb588485ea11345fd6a.tar.bz2 scummvm-rg350-b9d77d2d402c51c324f33bb588485ea11345fd6a.zip |
Fix crash when closing Kyrandia demo.
svn-id: r27223
-rw-r--r-- | engines/kyra/kyra.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp index 7b3251f878..197182e8f3 100644 --- a/engines/kyra/kyra.cpp +++ b/engines/kyra/kyra.cpp @@ -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"); |