diff options
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r-- | engines/titanic/sound/sound.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp index 30772e780c..6d27d1de49 100644 --- a/engines/titanic/sound/sound.cpp +++ b/engines/titanic/sound/sound.cpp @@ -94,10 +94,11 @@ void CSound::checkSounds() { if (_soundManager.isActive(soundItem->_waveFile)) { i = _sounds.erase(i); delete soundItem; + continue; } - } else { - ++i; } + + ++i; } } |