[Scummvm-cvs-logs] SF.net SVN: scummvm:[51241] scummvm/trunk/engines/sci/graphics/frameout.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Jul 24 12:12:56 CEST 2010


Revision: 51241
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51241&view=rev
Author:   m_kiewitz
Date:     2010-07-24 10:12:56 +0000 (Sat, 24 Jul 2010)

Log Message:
-----------
SCI: adding 1 to planeRect bottom/right

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/frameout.cpp

Modified: scummvm/trunk/engines/sci/graphics/frameout.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/frameout.cpp	2010-07-24 08:20:54 UTC (rev 51240)
+++ scummvm/trunk/engines/sci/graphics/frameout.cpp	2010-07-24 10:12:56 UTC (rev 51241)
@@ -138,8 +138,8 @@
 		Common::Rect planeRect;
 		planeRect.top = readSelectorValue(_segMan, planeObject, SELECTOR(top));
 		planeRect.left = readSelectorValue(_segMan, planeObject, SELECTOR(left));
-		planeRect.bottom = readSelectorValue(_segMan, planeObject, SELECTOR(bottom));
-		planeRect.right = readSelectorValue(_segMan, planeObject, SELECTOR(right));
+		planeRect.bottom = readSelectorValue(_segMan, planeObject, SELECTOR(bottom)) + 1;
+		planeRect.right = readSelectorValue(_segMan, planeObject, SELECTOR(right)) + 1;
 		int16 planeResY = readSelectorValue(_segMan, planeObject, SELECTOR(resY));
 		int16 planeResX = readSelectorValue(_segMan, planeObject, SELECTOR(resX));
 


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