CINE: Fix sound effects stopping the music in the DOS CD version of Future Wars.

This commit is contained in:
Kirben 2016-03-01 20:36:36 +11:00
parent e5974027ec
commit 27e5cfbd1b

View File

@ -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 {