aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index 2ecddfdb70..410ca10cfa 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -73,9 +73,10 @@ void Game_v2::playTot(int16 skipPlay) {
while (!_vm->_quitRequested) {
if (_vm->_global->_inter_variables != 0)
_vm->_draw->animateCursor(4);
- if (_vm->_features & GF_MAC)
- _vm->_adlib->stopPlay();
- else
+ if (_vm->_features & GF_MAC) {
+ if (_vm->_adlib)
+ _vm->_adlib->stopPlay();
+ } else
_vm->_cdrom->stopPlaying();
if (skipPlay != -1) {