diff options
-rw-r--r-- | saga/sfuncs.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/saga/sfuncs.cpp b/saga/sfuncs.cpp index 96f8b5c2af..7ff0a1c225 100644 --- a/saga/sfuncs.cpp +++ b/saga/sfuncs.cpp @@ -914,11 +914,6 @@ void Script::sfSetFrame(SCRIPTFUNC_PARAMS) { frameRange = _vm->_actor->getActorFrameRange(actorId, frameType); - if (frameRange->frameCount <= frameOffset) { - frameRange = _vm->_actor->getActorFrameRange(actorId, frameType); - - error("Wrong frameOffset 0x%X", frameOffset); - } actor->frameNumber = frameRange->frameIndex + frameOffset; if (actor->currentAction != kActionFall) { |