[Scummvm-cvs-logs] CVS: scummvm/scumm verbs.cpp,1.89,1.90

Max Horn fingolfin at users.sourceforge.net
Tue Jan 6 11:18:01 CET 2004


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

Modified Files:
	verbs.cpp 
Log Message:
proper fix

Index: verbs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/verbs.cpp,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- verbs.cpp	6 Jan 2004 17:23:19 -0000	1.89
+++ verbs.cpp	6 Jan 2004 19:17:01 -0000	1.90
@@ -435,7 +435,7 @@
 void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
 	VirtScreen *vs;
 	VerbSlot *vst;
-	byte twobufs;
+	bool twobufs;
 	const byte *imptr = 0;
 	int ydiff, xstrip;
 	int imgw, imgh;
@@ -499,7 +499,7 @@
 
 	gdi.enableZBuffer();
 
-	vs->hasTwoBuffers = twobufs != 0;
+	vs->hasTwoBuffers = twobufs;
 }
 
 int ScummEngine::getVerbSlot(int id, int mode) const {





More information about the Scummvm-git-logs mailing list