mirror of https://github.com/zeldaret/oot.git
format
This commit is contained in:
parent
188e1c4938
commit
21c7bd4ab4
|
@ -355,8 +355,8 @@ void EnButte_FollowLink(EnButte* this, PlayState* play) {
|
||||||
EnButte_SetupFlyAround(this);
|
EnButte_SetupFlyAround(this);
|
||||||
} else if (distSqFromHome > SQ(240.0f)) {
|
} else if (distSqFromHome > SQ(240.0f)) {
|
||||||
distSqFromSword = Math3D_Dist2DSq(MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->x,
|
distSqFromSword = Math3D_Dist2DSq(MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->x,
|
||||||
MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->z, this->actor.world.pos.x,
|
MELEE_WEAPON_INFO_TIP(&player->meleeWeaponInfo[0])->z,
|
||||||
this->actor.world.pos.z);
|
this->actor.world.pos.x, this->actor.world.pos.z);
|
||||||
if (distSqFromSword < SQ(60.0f)) {
|
if (distSqFromSword < SQ(60.0f)) {
|
||||||
EnButte_SetupTransformIntoFairy(this);
|
EnButte_SetupTransformIntoFairy(this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue