diff options
author | Florian Kagerer | 2010-02-07 16:12:31 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-02-07 16:12:31 +0000 |
commit | d4a0375f7e5f02f47b16d8cf1a057e15611b230b (patch) | |
tree | 9205ab1d45a90a3040449c43246957f16ee8000d /engines/kyra/lol.cpp | |
parent | 5d23dd6fa328cec3756de012046d33b6816ca935 (diff) | |
download | scummvm-rg350-d4a0375f7e5f02f47b16d8cf1a057e15611b230b.tar.gz scummvm-rg350-d4a0375f7e5f02f47b16d8cf1a057e15611b230b.tar.bz2 scummvm-rg350-d4a0375f7e5f02f47b16d8cf1a057e15611b230b.zip |
LOL: fixed handling of invalid monster attack sfx in the Urbish mines (should fix bug no #2945950)
svn-id: r47967
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r-- | engines/kyra/lol.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index db49a70eca..bb221406e1 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -133,7 +133,7 @@ LoLEngine::LoLEngine(OSystem *system, const GameFlags &flags) : KyraEngine_v1(sy memset(_visibleBlockIndex, 0, sizeof(_visibleBlockIndex)); _smoothScrollModeNormal = 1; - _wllVmpMap = _wllBuffer3 = _wllBuffer4 = _wllWallFlags = 0; + _wllVmpMap = _specialWallTypes = _wllBuffer4 = _wllWallFlags = 0; _wllShapeMap = 0; _lvlShapeTop = _lvlShapeBottom = _lvlShapeLeftRight = 0; _levelBlockProperties = 0; @@ -338,7 +338,7 @@ LoLEngine::~LoLEngine() { delete[] _wllVmpMap; delete[] _wllShapeMap; - delete[] _wllBuffer3; + delete[] _specialWallTypes; delete[] _wllBuffer4; delete[] _wllWallFlags; delete[] _lvlShapeTop; @@ -458,8 +458,8 @@ Common::Error LoLEngine::init() { memset(_wllVmpMap, 0, 80); _wllShapeMap = new int8[80]; memset(_wllShapeMap, 0, 80); - _wllBuffer3 = new uint8[80]; - memset(_wllBuffer3, 0, 80); + _specialWallTypes = new uint8[80]; + memset(_specialWallTypes, 0, 80); _wllBuffer4 = new uint8[80]; memset(_wllBuffer4, 0, 80); _wllWallFlags = new uint8[80]; |