From 572a4b3191ba90a0740370acd7e43a1824f9e5af Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 28 May 2007 00:36:11 +0000 Subject: 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 svn-id: r26985 --- engines/saga/sfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/saga/sfuncs.cpp') diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index 5ae7bba621..e6c804a2da 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -1115,7 +1115,7 @@ void Script::sfPlaceActor(SCRIPTFUNC_PARAMS) { 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; -- cgit v1.2.3