[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.86,2.87

Max Horn fingolfin at users.sourceforge.net
Sat May 10 14:34:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv20925

Modified Files:
	gfx.cpp 
Log Message:
fixed the way redrawBGStrip invokes drawBitmap -> this makes the office scene in the Zak intro show up correctly (again thanks to MadMoose for the clue that lead to the right solution :-)

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.86
retrieving revision 2.87
diff -u -d -r2.86 -r2.87
--- gfx.cpp	10 May 2003 21:23:17 -0000	2.86
+++ gfx.cpp	10 May 2003 21:33:28 -0000	2.87
@@ -720,7 +720,7 @@
 		setGfxUsageBit(s + i, USAGE_BIT_DIRTY);
 
 	gdi.drawBitmap(getResourceAddress(rtRoom, _roomResource) + _IM00_offs,
-								&virtscr[0], s, 0, virtscr[0].width, virtscr[0].height, s, num, 0);
+								&virtscr[0], s, 0, _scrWidth, virtscr[0].height, s, num, 0);
 }
 
 void Scumm::restoreCharsetBg() {





More information about the Scummvm-git-logs mailing list