aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorJohannes Schickel2014-06-04 01:49:31 +0200
committerJohannes Schickel2014-06-04 01:49:31 +0200
commitefe5348d25a507845a6567ea7654ad42b0b4d5be (patch)
tree325a3c6e59f6f8d64d74e91125120a083e76ff78 /engines/scumm
parent46a95fa157b70a06a6b2c67fe5070629d322a9f5 (diff)
downloadscummvm-rg350-efe5348d25a507845a6567ea7654ad42b0b4d5be.tar.gz
scummvm-rg350-efe5348d25a507845a6567ea7654ad42b0b4d5be.tar.bz2
scummvm-rg350-efe5348d25a507845a6567ea7654ad42b0b4d5be.zip
SCUMM: Only stop music instead of all sounds in music handling of AD player.
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/players/player_ad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/players/player_ad.cpp b/engines/scumm/players/player_ad.cpp
index e864fe4f2b..4f3a17fa66 100644
--- a/engines/scumm/players/player_ad.cpp
+++ b/engines/scumm/players/player_ad.cpp
@@ -108,7 +108,7 @@ void Player_AD::startSound(int sound) {
if (res[2] == 0x80) {
// Stop the current sounds
- stopAllSounds();
+ stopMusic();
// Lock the new music resource
_soundPlaying = sound;
@@ -478,7 +478,7 @@ void Player_AD::updateMusic() {
_nextEventTimer = 0;
} else {
// Otherwise completely stop playback.
- stopAllSounds();
+ stopMusic();
}
return;
} else if (command == 88) {