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

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon May 28 02:36:13 CEST 2007


Revision: 26985
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26985&view=rev
Author:   thebluegr
Date:     2007-05-27 17:36:11 -0700 (Sun, 27 May 2007)

Log Message:
-----------
Changed the frameOffset sanity check in Script::sfPlaceActor to throw a warning instead of an error. In IHNM, it's now possible to use the knife with the rats when playing with Garrister

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

Modified: scummvm/trunk/engines/saga/sfuncs.cpp
===================================================================
--- scummvm/trunk/engines/saga/sfuncs.cpp	2007-05-28 00:10:21 UTC (rev 26984)
+++ scummvm/trunk/engines/saga/sfuncs.cpp	2007-05-28 00:36:11 UTC (rev 26985)
@@ -1115,7 +1115,7 @@
 		frameRange = _vm->_actor->getActorFrameRange(actorId, frameType);
 
 		if (frameRange->frameCount <= frameOffset) {
-			error("Wrong frameOffset 0x%X", frameOffset);
+			warning("Wrong frameOffset 0x%X", frameOffset);
 		}
 
 		actor->_frameNumber = frameRange->frameIndex + frameOffset;


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