Skip to content

Commit

Permalink
CINE: Fix sound effects stopping the music in the DOS CD version of F…
Browse files Browse the repository at this point in the history
…uture Wars.
  • Loading branch information
Kirben committed Mar 2, 2016
1 parent c3697b9 commit 181a3ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/cine/script_fw.cpp
Expand Up @@ -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 {
Expand Down

0 comments on commit 181a3ad

Please sign in to comment.