[Scummvm-cvs-logs] SF.net SVN: scummvm: [26958] scummvm/trunk/engines/agos/charset.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Sun May 27 07:21:50 CEST 2007


Revision: 26958
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26958&view=rev
Author:   Kirben
Date:     2007-05-26 22:21:50 -0700 (Sat, 26 May 2007)

Log Message:
-----------
The 'i' and 'l' charactors only have a shorter width in Simon the Sorcerer 1/2.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/charset.cpp

Modified: scummvm/trunk/engines/agos/charset.cpp
===================================================================
--- scummvm/trunk/engines/agos/charset.cpp	2007-05-27 05:18:30 UTC (rev 26957)
+++ scummvm/trunk/engines/agos/charset.cpp	2007-05-27 05:21:50 UTC (rev 26958)
@@ -660,9 +660,10 @@
 
 			window->textLength++;
 			window->textColumnOffset += 6;
-			if (c == 'i' || c == 'l')
-				window->textColumnOffset -= 2;
-
+			if (getGameType() == GType_SIMON1 || getGameType() == GType_SIMON2) {
+				if (c == 'i' || c == 'l')
+					window->textColumnOffset -= 2;
+			}
 			if (window->textColumnOffset >= 8) {
 				window->textColumnOffset -= 8;
 				window->textColumn++;


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