[Scummvm-cvs-logs] SF.net SVN: scummvm: [21884] scummvm/trunk/engines/simon/simon.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Apr 14 03:38:06 CEST 2006


Revision: 21884
Author:   kirben
Date:     2006-04-14 03:37:34 -0700 (Fri, 14 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21884&view=rev

Log Message:
-----------
Avoid possible regression in set_video_mode_internal() for Simon1

Modified Paths:
--------------
    scummvm/trunk/engines/simon/simon.cpp
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp	2006-04-14 10:36:44 UTC (rev 21883)
+++ scummvm/trunk/engines/simon/simon.cpp	2006-04-14 10:37:34 UTC (rev 21884)
@@ -2298,9 +2298,11 @@
 			b += sizeof(ImageHeader_Simon);
 	}
 
-	if ((getGameType() == GType_SIMON1) && vga_res_id == 16300) {
-		dx_clear_attached_from_top(134);
-		_usePaletteDelay = true;
+	if (getGameType() == GType_SIMON1) {
+		if (vga_res_id == 16300) {
+			dx_clear_attached_from_top(134);
+			_usePaletteDelay = true;
+		}
 	} else {
 		_scrollX = 0;
 		_scrollY = 0;


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