TWINE: set the frame to 1 as found in the original sources

in HitObj() of OBJECT.C
This commit is contained in:
Martin Gerhardy 2023-01-11 19:12:45 +01:00
parent decbede936
commit b936aee7dc

View File

@ -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;
}