[Scummvm-cvs-logs] CVS: scummvm/saga animation.cpp,1.41,1.42

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun May 8 09:28:43 CEST 2005


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

Modified Files:
	animation.cpp 
Log Message:
Changed error() to warning() since it appears to be relatively harmless. Is
the 'start' field even used? Anyway, the entrance to the forest can now be
entered.

The animation code will produce an "Anim::play: Error decoding frame 40!"
warning in addition to the previous one, but I don't see any visible errors
in the scene.


Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/animation.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- animation.cpp	16 Apr 2005 20:59:24 -0000	1.41
+++ animation.cpp	8 May 2005 16:27:16 -0000	1.42
@@ -438,7 +438,7 @@
 	ah.start = readS.readUint16BE();
 
 	if (ah.start != 65535 && ah.start != 0)
-		error("Anim::readAnimHeader(): found different start: %d. Fix Anim::play()", ah.start);
+		warning("Anim::readAnimHeader(): found different start: %d. Fix Anim::play()", ah.start);
 	ah.start += readS.pos();
 }
 





More information about the Scummvm-git-logs mailing list