[Scummvm-cvs-logs] SF.net SVN: scummvm: [28380] scummvm/trunk/engines/saga

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Aug 1 04:37:29 CEST 2007


Revision: 28380
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28380&view=rev
Author:   thebluegr
Date:     2007-07-31 19:37:29 -0700 (Tue, 31 Jul 2007)

Log Message:
-----------
The psychic profile background is displayed correctly again

Modified Paths:
--------------
    scummvm/trunk/engines/saga/events.cpp
    scummvm/trunk/engines/saga/sfuncs.cpp

Modified: scummvm/trunk/engines/saga/events.cpp
===================================================================
--- scummvm/trunk/engines/saga/events.cpp	2007-08-01 02:19:05 UTC (rev 28379)
+++ scummvm/trunk/engines/saga/events.cpp	2007-08-01 02:37:29 UTC (rev 28380)
@@ -364,8 +364,9 @@
 		const PalEntry *palette = (const PalEntry *)_vm->getImagePal(resourceData, resourceDataLength);
 
 		Surface *bgSurface = _vm->_render->getBackGroundSurface();
+		const Rect profileRect(width, height);
 
-		bgSurface->blit(rect, buf);
+		bgSurface->blit(profileRect, buf);
 		_vm->_frameCount++;
 
 		_vm->_gfx->setPalette(palette);

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-08-01 02:19:05 UTC (rev 28379)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-08-01 02:37:29 UTC (rev 28380)
@@ -1418,7 +1418,6 @@
 
 void Script::sfPsychicProfile(SCRIPTFUNC_PARAMS) {
 	int stringId;
-	//Surface *backBuffer = _vm->_gfx->getBackBuffer();
 	static PalEntry cur_pal[PAL_ENTRIES];
 	PalEntry *pal;
 	Event event;


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