aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2006-01-24 07:20:15 +0000
committerMax Horn2006-01-24 07:20:15 +0000
commit7d6bc98516aeacf38b52d973f542adf2f07fc796 (patch)
treecf50ad9365cfa27eb467f9cfb166d2b6cfb720ae
parente70af9a9a9a29fa61a025afd0d0a8b84afd1321a (diff)
downloadscummvm-rg350-7d6bc98516aeacf38b52d973f542adf2f07fc796.tar.gz
scummvm-rg350-7d6bc98516aeacf38b52d973f542adf2f07fc796.tar.bz2
scummvm-rg350-7d6bc98516aeacf38b52d973f542adf2f07fc796.zip
Removing unneccessary checks again (say yay to preconditions that ensure _version > X :-)
svn-id: r20157
-rw-r--r--scumm/scumm.cpp2
-rw-r--r--scumm/string.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 28105e4421..bb220853af 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -2340,7 +2340,7 @@ int ScummEngine::scummLoop(int delta) {
VAR(VAR_TMR_1) += delta;
VAR(VAR_TMR_2) += delta;
VAR(VAR_TMR_3) += delta;
- if ((_gameId == GID_ZAK && _platform == Common::kPlatformFMTowns) || _gameId == GID_INDY3) {
+ if (_gameId == GID_ZAK || _gameId == GID_INDY3) {
// All versions of Indy3 set three extra timers
// FM-TOWNS version of Zak sets three extra timers
VAR(39) += delta;
diff --git a/scumm/string.cpp b/scumm/string.cpp
index e9223db4ab..5a83dbed77 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -578,7 +578,7 @@ void ScummEngine::CHARSET_1() {
// HE games which use sprites for subtitles
} else if (_heversion >= 60 && !ConfMan.getBool("subtitles") && _sound->isSoundRunning(1)) {
// Special case for HE games
- } else if (_gameId == GID_LOOM && _version == 4 && !ConfMan.getBool("subtitles") && (_sound->pollCD())) {
+ } else if (_gameId == GID_LOOM && !ConfMan.getBool("subtitles") && (_sound->pollCD())) {
// Special case for Loom (CD), since it only uses CD audio.for sound
} else if (!ConfMan.getBool("subtitles") && (!_haveActorSpeechMsg || _mixer->isSoundHandleActive(_sound->_talkChannelHandle))) {
// Subtitles are turned off, and there is a voice version