mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Fix crash after loading game from cmd/launcher.
svn-id: r40666
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user