aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game.cpp')
-rw-r--r--engines/gob/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/game.cpp b/engines/gob/game.cpp
index 5424a931b4..2ddec2fa56 100644
--- a/engines/gob/game.cpp
+++ b/engines/gob/game.cpp
@@ -348,8 +348,8 @@ void Game::freeSoundSlot(int16 slot) {
return;
if (_soundADL[slot]) {
- if (_vm->_music->getIndex() == slot)
- _vm->_music->stopPlay();
+ if (_vm->_adlib->getIndex() == slot)
+ _vm->_adlib->stopPlay();
if (_soundFromExt[slot] == 1) {
delete[] ((char *) _soundSamples[slot]);
_soundFromExt[slot] = 0;