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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Aug 12 19:11:04 CEST 2009


Revision: 43321
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43321&view=rev
Author:   lordhoto
Date:     2009-08-12 17:11:04 +0000 (Wed, 12 Aug 2009)

Log Message:
-----------
Cleanup.

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

Modified: scummvm/trunk/engines/kyra/sequences_lok.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sequences_lok.cpp	2009-08-12 17:10:47 UTC (rev 43320)
+++ scummvm/trunk/engines/kyra/sequences_lok.cpp	2009-08-12 17:11:04 UTC (rev 43321)
@@ -1215,12 +1215,13 @@
 			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)


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