aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-12 17:11:04 +0000
committerJohannes Schickel2009-08-12 17:11:04 +0000
commitf7464020a0e74978ec574d13a575228f84784087 (patch)
tree47629e5413d13d20de46ddce1a104b5cf56df081
parent8086aff0511bef674d7e981f74392b2cceafd386 (diff)
downloadscummvm-rg350-f7464020a0e74978ec574d13a575228f84784087.tar.gz
scummvm-rg350-f7464020a0e74978ec574d13a575228f84784087.tar.bz2
scummvm-rg350-f7464020a0e74978ec574d13a575228f84784087.zip
Cleanup.
svn-id: r43321
-rw-r--r--engines/kyra/sequences_lok.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp
index 97e37013cb..bfef591193 100644
--- a/engines/kyra/sequences_lok.cpp
+++ b/engines/kyra/sequences_lok.cpp
@@ -1215,12 +1215,13 @@ void KyraEngine_LoK::seq_playCredits() {
currentString++;
if (!_flags.isTalkie && _flags.platform != Common::kPlatformAmiga)
_screen->setFont(Screen::FID_CRED6_FNT);
- } else {
- if (*currentString == 2)
- currentString++;
+ } else if (*currentString == 2)
+ currentString++;
+
if (!_flags.isTalkie && _flags.platform != Common::kPlatformAmiga)
_screen->setFont(Screen::FID_CRED8_FNT);
}
+
strings[i].font = _screen->_currentFont;
if (strings[i].unk1 == 3)