mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
fixed boar king crush
svn-id: r18067
This commit is contained in:
parent
f45b23b63f
commit
3386b6cdd1
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user