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

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Wed Jun 3 16:24:00 CEST 2009


Revision: 41140
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41140&view=rev
Author:   athrxx
Date:     2009-06-03 14:24:00 +0000 (Wed, 03 Jun 2009)

Log Message:
-----------
LOL: fixed minor bug in shakeScene() which caused a graphics glitch when dropping into pits

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

Modified: scummvm/trunk/engines/kyra/scene_lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/scene_lol.cpp	2009-06-03 14:09:25 UTC (rev 41139)
+++ scummvm/trunk/engines/kyra/scene_lol.cpp	2009-06-03 14:24:00 UTC (rev 41140)
@@ -1267,21 +1267,21 @@
 		int x1, y1, x2, y2, w, h;
 		if (s1 >= 0) {
 			x1 = 112;
-			x2 = 112;
+			x2 = 112 + s1;
 			w = 176 - s1;
 		} else {
 			x1 = 112 - s1;
-			x2 = 112 + s1;
+			x2 = 112;
 			w = 176 + s1;
 		}
 
 		if (s2 >= 0) {
 			y1 = 0;
-			y2 = 0;
+			y2 = s2;
 			h = 120 - s2;
 		} else {
 			y1 = -s2;
-			y2 = s2;
+			y2 = 0;
 			h = 120 + s2;
 		}
 


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