Fix child link model blipping after ledge climb when interpolating (#7360)

This commit is contained in:
Philip Dubé
2026-10-10 17:10:35 +00:00
committed by GitHub
parent 2d529b3155
commit b24f707ecb
@@ -23,8 +23,6 @@
#include <soh/Enhancements/custom-message/CustomMessageTypes.h>
#include "soh/Enhancements/game-interactor/vanilla-behavior/GIVanillaBehavior.h"
#include "soh/Enhancements/item-tables/ItemTableTypes.h"
#include "soh/Enhancements/cosmetics/cosmeticsTypes.h"
#include "soh/Enhancements/enhancementTypes.h"
#include "soh/Enhancements/game-interactor/GameInteractor.h"
#include "soh/Enhancements/game-interactor/GameInteractor_Hooks.h"
#include "soh/Enhancements/randomizer/randomizer_entrance.h"
@@ -1611,6 +1609,10 @@ void Player_AnimPlayOnceAdjusted(PlayState* play, Player* this, LinkAnimationHea
}
void Player_ApplyYawFromAnim(Player* this) {
// Blending big turn squishes model, skip it
if (ABS(this->skelAnime.jointTable[1].y) > 0x4000) {
FrameInterpolation_DontInterpolateChild(&this->actor);
}
this->actor.shape.rot.y += this->skelAnime.jointTable[1].y;
this->skelAnime.jointTable[1].y = 0;
}