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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Mar 30 05:21:01 CEST 2008


Revision: 31319
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31319&view=rev
Author:   lordhoto
Date:     2008-03-29 20:21:01 -0700 (Sat, 29 Mar 2008)

Log Message:
-----------
Cleanup.

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

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2008-03-30 03:18:16 UTC (rev 31318)
+++ scummvm/trunk/engines/kyra/screen.cpp	2008-03-30 03:21:01 UTC (rev 31319)
@@ -539,9 +539,7 @@
 		h = SCREEN_H - y2;
 	}
 
-	assert(x1 + w <= SCREEN_W && y1 + h <= SCREEN_H);
 	const uint8 *src = getPagePtr(srcPage) + y1 * SCREEN_W + x1;
-	assert(x2 + w <= SCREEN_W && y2 + h <= SCREEN_H);
 	uint8 *dst = getPagePtr(dstPage) + y2 * SCREEN_W + x2;
 
 	if (dstPage == 0 || dstPage == 1)


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