aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/iterator/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sound/iterator/core.cpp')
-rw-r--r--engines/sci/sound/iterator/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/iterator/core.cpp b/engines/sci/sound/iterator/core.cpp
index c7c9ace028..7e5b690c08 100644
--- a/engines/sci/sound/iterator/core.cpp
+++ b/engines/sci/sound/iterator/core.cpp
@@ -228,7 +228,7 @@ Common::Error SfxPlayer::init(ResourceManager *resMan, int expected_latency) {
switch (musicDriver) {
case MD_ADLIB:
// FIXME: There's no Amiga sound option, so we hook it up to AdLib
- if (((SciEngine *)g_engine)->getPlatform() == Common::kPlatformAmiga)
+ if (g_sci->getPlatform() == Common::kPlatformAmiga)
_mididrv = MidiPlayer_Amiga_create(_soundVersion);
else
_mididrv = MidiPlayer_AdLib_create(_soundVersion);