diff options
author | Marisa-Chan | 2014-01-13 07:53:36 +0700 |
---|---|---|
committer | Marisa-Chan | 2014-01-13 07:53:36 +0700 |
commit | 4ced9c07e0ce55fd77c7a31261a3179b5abb7a8c (patch) | |
tree | d334fec9b192cfd65977f8813e13d02b509afe41 /engines/zvision | |
parent | aef9c68f3c99908ae6027c059652b46ee758ca7b (diff) | |
download | scummvm-rg350-4ced9c07e0ce55fd77c7a31261a3179b5abb7a8c.tar.gz scummvm-rg350-4ced9c07e0ce55fd77c7a31261a3179b5abb7a8c.tar.bz2 scummvm-rg350-4ced9c07e0ce55fd77c7a31261a3179b5abb7a8c.zip |
ZVISION: Fix killSideFxType iterator.
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/script_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp index ddb57c80da..a1003197ef 100644 --- a/engines/zvision/script_manager.cpp +++ b/engines/zvision/script_manager.cpp @@ -381,7 +381,7 @@ void ScriptManager::killSideFxType(SideFX::SideFXType type) { if ((*iter)->getType() & type) { (*iter)->kill(); delete(*iter); - _activeSideFx.erase(iter); + iter = _activeSideFx.erase(iter); } else { ++iter; } |