diff options
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index 0be5e54f52..5a9862157f 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -1210,7 +1210,7 @@ bool Inter_v1::o1_playComposition(char &cmdCount, int16 &counter, int16 &retFlag } bool Inter_v1::o1_stopSound(char &cmdCount, int16 &counter, int16 &retFlag) { - _vm->_music->stopPlay(); + _vm->_adlib->stopPlay(); _vm->_snd->stopSound(_vm->_parse->parseValExpr()); _soundEndTimeKey = 0; return false; @@ -1641,7 +1641,7 @@ void Inter_v1::o1_loadCurLayer(void) { void Inter_v1::o1_playCDTrack(void) { evalExpr(0); if (_vm->_features & GF_MAC) - _vm->_music->playTrack(_vm->_global->_inter_resStr); + _vm->_adlib->playTrack(_vm->_global->_inter_resStr); else // Used in gob1 CD _vm->_cdrom->startTrack(_vm->_global->_inter_resStr); @@ -1664,7 +1664,7 @@ void Inter_v1::o1_getCDTrackPos(void) { void Inter_v1::o1_stopCD(void) { if (_vm->_features & GF_MAC) - _vm->_music->stopPlay(); + _vm->_adlib->stopPlay(); else // Used in gob1 CD _vm->_cdrom->stopPlaying(); @@ -2588,7 +2588,7 @@ void Inter_v1::o1_drawObjects(int16 &extraData, int32 *retVarPtr, Goblin::Gob_Ob _vm->_goblin->drawObjects(); if (_vm->_features & GF_MAC) - _vm->_music->playBgMusic(); + _vm->_adlib->playBgMusic(); else if (_vm->_cdrom->getTrackPos() == -1) _vm->_cdrom->playBgMusic(); } |