diff options
author | Alyssa Milburn | 2014-08-09 23:11:47 +0200 |
---|---|---|
committer | Alyssa Milburn | 2014-08-09 23:11:47 +0200 |
commit | c3f3b623d6492e172db959b310ca4bcfd84f280e (patch) | |
tree | 872058477323e4829780da9a8002d5529803b253 /engines/composer | |
parent | 94f83598968de6e7fb2b16e7eece19d6336552af (diff) | |
download | scummvm-rg350-c3f3b623d6492e172db959b310ca4bcfd84f280e.tar.gz scummvm-rg350-c3f3b623d6492e172db959b310ca4bcfd84f280e.tar.bz2 scummvm-rg350-c3f3b623d6492e172db959b310ca4bcfd84f280e.zip |
COMPOSER: Remove sprites when stopping V1 scripts (bug #6091).
Diffstat (limited to 'engines/composer')
-rw-r--r-- | engines/composer/scripting.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/composer/scripting.cpp b/engines/composer/scripting.cpp index 94ca2c1bc8..cd78202ecd 100644 --- a/engines/composer/scripting.cpp +++ b/engines/composer/scripting.cpp @@ -746,6 +746,7 @@ void ComposerEngine::stopOldScript(uint16 id) { for (Common::List<OldScript *>::iterator i = _oldScripts.begin(); i != _oldScripts.end(); i++) { if ((*i)->_id == id) { + removeSprite(0, id); delete *i; i = _oldScripts.reverse_erase(i); } |