From 70dfe93ed707a5d1cb9dc45257cc51c7e4228b8f Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 8 Jan 2006 20:03:20 +0000 Subject: Added a dummy table for which music to play in Gobliiins Mac; some code formating issues svn-id: r19951 --- gob/goblin.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gob/goblin.cpp') diff --git a/gob/goblin.cpp b/gob/goblin.cpp index 98158dcaa8..1fafda551f 100644 --- a/gob/goblin.cpp +++ b/gob/goblin.cpp @@ -32,6 +32,7 @@ #include "gob/game.h" #include "gob/dataio.h" #include "gob/cdrom.h" +#include "gob/music.h" namespace Gob { @@ -3092,7 +3093,9 @@ void Goblin::interFunc(void) { case 1003: drawObjects(); - if (_vm->_cdrom->getTrackPos() == -1) + if (_vm->_features & GF_MAC) + _vm->_music->playBgMusic(); + else if (_vm->_cdrom->getTrackPos() == -1) _vm->_cdrom->playBgMusic(); break; -- cgit v1.2.3