[Scummvm-cvs-logs] SF.net SVN: scummvm:[34183] scummvm/trunk/engines/drascula/graphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Aug 26 13:00:00 CEST 2008


Revision: 34183
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34183&view=rev
Author:   thebluegr
Date:     2008-08-26 10:59:59 +0000 (Tue, 26 Aug 2008)

Log Message:
-----------
Removed some unneeded sanity checks that have been introduced with the latest cleanups

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/graphics.cpp

Modified: scummvm/trunk/engines/drascula/graphics.cpp
===================================================================
--- scummvm/trunk/engines/drascula/graphics.cpp	2008-08-26 08:35:02 UTC (rev 34182)
+++ scummvm/trunk/engines/drascula/graphics.cpp	2008-08-26 10:59:59 UTC (rev 34183)
@@ -146,12 +146,6 @@
 
 void DrasculaEngine::copyBackground(int xorg, int yorg, int xdes, int ydes, int width,
 								  int height, byte *src, byte *dest) {
-	if (src == 0)
-		src = bgSurface;
-
-	if (dest == 0)
-		dest = screenSurface;
-
 	dest += xdes + ydes * 320;
 	src += xorg + yorg * 320;
 	for (int x = 0; x < height; x++) {


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