diff options
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r-- | scumm/scumm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp index 8c675c871f..646073636e 100644 --- a/scumm/scumm.cpp +++ b/scumm/scumm.cpp @@ -1169,6 +1169,9 @@ ScummEngine::~ScummEngine() { delete _costumeRenderer; free(_shadowPalette); + + free(_palManipPalette); + free(_palManipIntermediatePal); res.freeResources(); if (_heversion >= 70) { @@ -1403,6 +1406,8 @@ void ScummEngine::scummInit() { initScreens(16, 144); } + _palManipCounter = 0; + for (i = 0; i < 256; i++) _roomPalette[i] = i; if (_version == 1) { |