[Scummvm-cvs-logs] CVS: scummvm/sword2 mouse.cpp,1.56,1.57

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Apr 23 04:44:06 CEST 2004


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18131

Modified Files:
	mouse.cpp 
Log Message:
Fixed a crash regression in setLuggage() that was caused by a change I
didn't make. :-)

(That is, I made the change and then thought better of it, but I forgot to
change one line back to its original form.) 


Index: mouse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/mouse.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- mouse.cpp	23 Apr 2004 07:01:38 -0000	1.56
+++ mouse.cpp	23 Apr 2004 11:43:20 -0000	1.57
@@ -801,7 +801,7 @@
 		byte *icon = _resman->openResource(res) + sizeof(StandardHeader);
 		uint32 len = _resman->fetchLen(res) - sizeof(StandardHeader);
 
-		_graphics->setLuggageAnim(icon + sizeof(StandardHeader), len);
+		_graphics->setLuggageAnim(icon, len);
 		_resman->closeResource(res);
 	} else
 		_graphics->setLuggageAnim(NULL, 0);





More information about the Scummvm-git-logs mailing list