This commit is contained in:
Dragorn421 2025-05-29 02:53:24 +02:00
parent 188e1c4938
commit 21c7bd4ab4
No known key found for this signature in database
GPG Key ID: 381AEBAF3D429335
1 changed files with 2 additions and 2 deletions

View File

@ -355,8 +355,8 @@ void EnButte_FollowLink(EnButte* this, PlayState* play) {
EnButte_SetupFlyAround(this);
} else if (distSqFromHome > SQ(240.0f)) {
distSqFromSword = Math3D_Dist2DSq(MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->x,
MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->z, this->actor.world.pos.x,
this->actor.world.pos.z);
MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->z,
this->actor.world.pos.x, this->actor.world.pos.z);
if (distSqFromSword < SQ(60.0f)) {
EnButte_SetupTransformIntoFairy(this);
}