aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-11 21:35:18 -0400
committerPaul Gilbert2014-03-11 21:35:18 -0400
commit5047c118f1b3bb60136bc4088e9db53f38dbb087 (patch)
tree3bc5a30881f968477130676221c1ce19d2754f8d
parent5a1c64e7329bd85c0089c7ee55217266be36c921 (diff)
downloadscummvm-rg350-5047c118f1b3bb60136bc4088e9db53f38dbb087.tar.gz
scummvm-rg350-5047c118f1b3bb60136bc4088e9db53f38dbb087.tar.bz2
scummvm-rg350-5047c118f1b3bb60136bc4088e9db53f38dbb087.zip
MADS: Fix for executing queued sound commands
-rw-r--r--engines/mads/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/sound.cpp b/engines/mads/sound.cpp
index ea0239076b..eaac70c670 100644
--- a/engines/mads/sound.cpp
+++ b/engines/mads/sound.cpp
@@ -85,7 +85,7 @@ void SoundManager::startQueuedCommands() {
_newSoundsPaused = false;
while (!_queuedCommands.empty()) {
- int commandId = _queuedCommands.front();
+ int commandId = _queuedCommands.pop();
command(commandId);
}
}