mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
TWINE: set the frame to 1 as found in the original sources
in HitObj() of OBJECT.C
This commit is contained in:
parent
decbede936
commit
b936aee7dc
@ -288,6 +288,7 @@ void Actor::hitObj(int32 actorIdx, int32 actorIdxAttacked, int32 strengthOfHit,
|
||||
if (actor->_genAnim == AnimationTypes::kBigHit || actor->_genAnim == AnimationTypes::kHit2) {
|
||||
if (actor->_nextGenAnim != AnimationTypes::kStanding) {
|
||||
const int32 tmpAnimPos = actor->_frame;
|
||||
actor->_frame = 1;
|
||||
_engine->_animations->processAnimActions(actorIdxAttacked);
|
||||
actor->_frame = tmpAnimPos;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user