diff options
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; } |