[Scummvm-cvs-logs] SF.net SVN: scummvm:[44746] scummvm/trunk/engines/gob/draw.cpp

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Oct 7 21:44:10 CEST 2009


Revision: 44746
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44746&view=rev
Author:   strangerke
Date:     2009-10-07 19:44:10 +0000 (Wed, 07 Oct 2009)

Log Message:
-----------
Fix an assert in activeWin(). 

Modified Paths:
--------------
    scummvm/trunk/engines/gob/draw.cpp

Modified: scummvm/trunk/engines/gob/draw.cpp
===================================================================
--- scummvm/trunk/engines/gob/draw.cpp	2009-10-07 19:36:47 UTC (rev 44745)
+++ scummvm/trunk/engines/gob/draw.cpp	2009-10-07 19:44:10 UTC (rev 44746)
@@ -582,16 +582,14 @@
 												 _fascinWin[t[j]].height - 1, _fascinWin[t[j]].left,
 												 _fascinWin[t[j]].top, 0);
 					else {
-// Strangerke not sure concerning the use of _sourceSurface
 // Shift skipped as always set to zero (?)
-						_vm->_video->drawSprite(*_spritesArray[_sourceSurface], *_spritesArray[_destSurface],
+						_vm->_video->drawSprite(*_spritesArray[_destSurface], *_spritesArray[_destSurface],
 												 _fascinWin[t[j]].left, _fascinWin[t[j]].top,
 												 _fascinWin[t[j]].left + _fascinWin[t[j]].width  - 1,
 												 _fascinWin[t[j]].top  + _fascinWin[t[j]].height - 1,
 												 _fascinWin[t[j]].left, _fascinWin[t[j]].top, 0);
 					}
-// Strangerke not sure concerning the use of _sourceSurface
-					dirtiedRect(_sourceSurface, _fascinWin[t[j]].left, _fascinWin[t[j]].top, 
+					dirtiedRect(_destSurface, _fascinWin[t[j]].left, _fascinWin[t[j]].top, 
 								_fascinWin[t[j]].left + _fascinWin[t[j]].width  - 1,
 								_fascinWin[t[j]].top  + _fascinWin[t[j]].height - 1);
 					nextId = t2[j];


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