aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-17 23:14:10 +0000
committerJohannes Schickel2009-05-17 23:14:10 +0000
commitffed114ccc19259ef53df2eff406c27dbd462b3b (patch)
treeb2fd36657ab8868bf4eecb337472fb5533ad70bd
parentd4fbcb35ff333f307fedc2fbffcb8d7509153468 (diff)
downloadscummvm-rg350-ffed114ccc19259ef53df2eff406c27dbd462b3b.tar.gz
scummvm-rg350-ffed114ccc19259ef53df2eff406c27dbd462b3b.tar.bz2
scummvm-rg350-ffed114ccc19259ef53df2eff406c27dbd462b3b.zip
Fix crash after loading game from cmd/launcher.
svn-id: r40666
-rw-r--r--engines/kyra/lol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index d1fe6338c0..833da7764d 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -549,8 +549,10 @@ Common::Error LoLEngine::go() {
// Usually fonts etc. would be setup by the prologue code, if we skip
// the prologue code we need to setup them manually here.
- if (_gameToLoad != -1)
+ if (_gameToLoad != -1) {
preInit();
+ _screen->setFont(Screen::FID_9_FNT);
+ }
// We have three sound.dat files, one for the intro, one for the
// end sequence and one for ingame, each contained in a different