diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 3 | ||||
-rw-r--r-- | engines/kyra/screen.cpp | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index 9503420f82..293804f4f0 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -147,6 +147,7 @@ KyraEngine_MR::KyraEngine_MR(OSystem *system, const GameFlags &flags) : KyraEngi _albumChatActive = false; memset(&_album, 0, sizeof(_album)); _configHelium = false; + _fadeOutMusicChannel = -1; } KyraEngine_MR::~KyraEngine_MR() { @@ -816,7 +817,7 @@ void KyraEngine_MR::loadCharacterShapes(int newShapes) { ShapeMap::iterator iter = _gameShapes.find(i); if (iter != _gameShapes.end()) { - delete iter->_value; + delete[] iter->_value; iter->_value = 0; } } diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp index 6e250f292a..8d18bc2e78 100644 --- a/engines/kyra/screen.cpp +++ b/engines/kyra/screen.cpp @@ -36,6 +36,7 @@ namespace Kyra { Screen::Screen(KyraEngine_v1 *vm, OSystem *system) : _system(system), _vm(vm), _sjisInvisibleColor(0) { _debugEnabled = false; + _maskMinY = _maskMaxY = -1; } Screen::~Screen() { |