[Scummvm-cvs-logs] SF.net SVN: scummvm:[54015] scummvm/trunk/engines/sci/graphics/helpers.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Nov 1 20:42:01 CET 2010


Revision: 54015
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54015&view=rev
Author:   thebluegr
Date:     2010-11-01 19:42:00 +0000 (Mon, 01 Nov 2010)

Log Message:
-----------
SCI: Fixed a silly bug when restoring port rectangles. This uncovered a bug with the recently added port save/restore code

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/helpers.h

Modified: scummvm/trunk/engines/sci/graphics/helpers.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/helpers.h	2010-11-01 16:42:54 UTC (rev 54014)
+++ scummvm/trunk/engines/sci/graphics/helpers.h	2010-11-01 19:42:00 UTC (rev 54015)
@@ -80,7 +80,7 @@
 		bDrawn(false) {
 	}
 
-	void syncRect(Common::Serializer &ser, Common::Rect targetRect) {
+	void syncRect(Common::Serializer &ser, Common::Rect &targetRect) {
 		ser.syncAsSint16LE(targetRect.top);
 		ser.syncAsSint16LE(targetRect.left);
 		ser.syncAsSint16LE(targetRect.bottom);


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