[Scummvm-cvs-logs] CVS: scummvm/kyra kyra.cpp,1.42,1.43

kirben kirben at users.sourceforge.net
Fri Sep 9 23:49:15 CEST 2005


Update of /cvsroot/scummvm/scummvm/kyra
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4942/kyra

Modified Files:
	kyra.cpp 
Log Message:

Small font not used in demo.


Index: kyra.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/kyra.cpp,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- kyra.cpp	10 Sep 2005 06:40:20 -0000	1.42
+++ kyra.cpp	10 Sep 2005 06:48:34 -0000	1.43
@@ -188,7 +188,10 @@
 int KyraEngine::go() {
 	_quitFlag = false;
 	uint32 sz;
-	_screen->loadFont(Screen::FID_6_FNT, _res->fileData("6.FNT", &sz));
+
+	if (_game != KYRA1DEMO) {
+		_screen->loadFont(Screen::FID_6_FNT, _res->fileData("6.FNT", &sz));
+	}
 	_screen->loadFont(Screen::FID_8_FNT, _res->fileData("8FAT.FNT", &sz));
 	_screen->setScreenDim(0);
 





More information about the Scummvm-git-logs mailing list