aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-29 02:21:04 +0000
committerFilippos Karapetis2009-12-29 02:21:04 +0000
commitdabfe53c66c415b58e482d5b03ba9ac3951cbb11 (patch)
tree293f8229ae63a4784eb8a13549bbebf780b94d5e /engines
parentdbbe7fd7f8e79632c1966872cbbc40e914b48e21 (diff)
downloadscummvm-rg350-dabfe53c66c415b58e482d5b03ba9ac3951cbb11.tar.gz
scummvm-rg350-dabfe53c66c415b58e482d5b03ba9ac3951cbb11.tar.bz2
scummvm-rg350-dabfe53c66c415b58e482d5b03ba9ac3951cbb11.zip
Reverted rev #46647 - the title music in Codename: Iceman works correctly again
svn-id: r46701
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/sfx/soundcmd.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index 74efeb43d5..9137c50f80 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -663,10 +663,7 @@ void SoundCommandParser::cmdGetPolyphony(reg_t obj, int16 value) {
#ifdef USE_OLD_MUSIC_FUNCTIONS
_acc = make_reg(0, _state->sfx_get_player_polyphony());
#else
- if (_soundVersion <= SCI_VERSION_0_LATE)
- _acc = make_reg(0, 1); // Check if the sound driver was installed properly (always true)
- else
- _acc = make_reg(0, _music->soundGetVoices()); // Get the number of voices
+ _acc = make_reg(0, _music->soundGetVoices()); // Get the number of voices
#endif
}