From 27e5cfbd1b42c86c21339b474986e621e0e5dbf4 Mon Sep 17 00:00:00 2001 From: Kirben Date: Tue, 1 Mar 2016 20:36:36 +1100 Subject: [PATCH] CINE: Fix sound effects stopping the music in the DOS CD version of Future Wars. --- engines/cine/script_fw.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index 6ad38f4433a..86eb709d5a5 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -1858,7 +1858,9 @@ int FWScript::o1_playSample() { if (g_cine->getGameType() == Cine::GType_OS && size == 0) { return 0; } - g_sound->stopMusic(); + // The DOS CD version of Future Wars uses CD audio for music + if (!(g_cine->getGameType() == Cine::GType_FW && (g_cine->getFeatures() & GF_CD))) + g_sound->stopMusic(); if (size == 0xFFFF) { g_sound->playSound(channel, 0, data, 0, 0, 0, volume, 0); } else {