diff options
author | Eric Fry | 2018-07-03 22:44:38 +1000 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | c01a1269b6bd6bfbce0de201490fc2c1d61c2250 (patch) | |
tree | 5c72c060352f9609bd90ffc8e0a35f6af5447355 /engines/illusions/dictionary.h | |
parent | 24a4c6367ced2bfc76ae2326b077a8b324c6b6a5 (diff) | |
download | scummvm-rg350-c01a1269b6bd6bfbce0de201490fc2c1d61c2250.tar.gz scummvm-rg350-c01a1269b6bd6bfbce0de201490fc2c1d61c2250.tar.bz2 scummvm-rg350-c01a1269b6bd6bfbce0de201490fc2c1d61c2250.zip |
ILLUSIONS: DUCKMAN: Clear fader when loading/unpausing backgrounds
(cherry picked from commit 3367aafae37d6c28c1ab1e8323613a56a44e3a5c)
ILLUSIONS: Delete dictionary list before it gets removed
(cherry picked from commit d9d0c11)
ILLUSIONS: Implement PathFinder::postProcess
(cherry picked from commit ee98dfc)
Diffstat (limited to 'engines/illusions/dictionary.h')
-rw-r--r-- | engines/illusions/dictionary.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/illusions/dictionary.h b/engines/illusions/dictionary.h index c0d60a9bb7..d5c2d66242 100644 --- a/engines/illusions/dictionary.h +++ b/engines/illusions/dictionary.h @@ -67,8 +67,10 @@ public: if (it != _map.end()) { list = it->_value; list->pop_back(); - if (list->empty()) + if (list->empty()) { _map.erase(id); + delete list; + } } } |