diff options
author | Filippos Karapetis | 2007-05-28 00:36:11 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-05-28 00:36:11 +0000 |
commit | 572a4b3191ba90a0740370acd7e43a1824f9e5af (patch) | |
tree | 6c3c28df32b0a709a3ab0b23f65130082457cc2e /engines | |
parent | 56123c3edb86b49da7b195cd2c637ae9a5a8fd9e (diff) | |
download | scummvm-rg350-572a4b3191ba90a0740370acd7e43a1824f9e5af.tar.gz scummvm-rg350-572a4b3191ba90a0740370acd7e43a1824f9e5af.tar.bz2 scummvm-rg350-572a4b3191ba90a0740370acd7e43a1824f9e5af.zip |
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
Diffstat (limited to 'engines')
-rw-r--r-- | engines/saga/sfuncs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |