[Scummvm-cvs-logs] SF.net SVN: scummvm:[40666] scummvm/trunk/engines/kyra/lol.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon May 18 01:14:10 CEST 2009


Revision: 40666
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40666&view=rev
Author:   lordhoto
Date:     2009-05-17 23:14:10 +0000 (Sun, 17 May 2009)

Log Message:
-----------
Fix crash after loading game from cmd/launcher.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/lol.cpp

Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp	2009-05-17 23:01:35 UTC (rev 40665)
+++ scummvm/trunk/engines/kyra/lol.cpp	2009-05-17 23:14:10 UTC (rev 40666)
@@ -549,8 +549,10 @@
 
 	// 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list