Fixed idle animations for Two Handed Items

Nintendo messed up and used a 0 instead of a 1 which basically pulled the wrong animation to load.
This commit is contained in:
PurpleHato 2022-05-11 23:46:19 +02:00 committed by Nicholas Estelami
parent 2b0af54f88
commit 24fd3f1cdd

View File

@ -6981,7 +6981,7 @@ void func_808409CC(GlobalContext* globalCtx, Player* this) {
if (sp34 < 4) {
if (((sp34 != 0) && (sp34 != 3)) || ((this->rightHandType == PLAYER_MODELTYPE_RH_SHIELD) &&
((sp34 == 3) || Player_GetSwordHeld(this)))) {
if ((sp34 == 0) && Player_HoldsTwoHandedWeapon(this)) {
if ((sp34 == 1) && Player_HoldsTwoHandedWeapon(this)) {
sp34 = 4;
}
sp38 = sp34 + 9;