mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 14:31:17 +00:00
Use long
over int
for s32/u32 types (#1546)
* long s32 * Suggested changes
This commit is contained in:
parent
b3486b57ef
commit
a20163c6ab
21 changed files with 66 additions and 62 deletions
|
@ -371,7 +371,7 @@ s32 EnFr_IsBelowLogSpot(EnFr* this, f32* yDistToLogSpot) {
|
|||
}
|
||||
}
|
||||
|
||||
s32 EnFr_IsAboveAndWithin30DistXZ(Player* player, EnFr* this) {
|
||||
int EnFr_IsAboveAndWithin30DistXZ(Player* player, EnFr* this) {
|
||||
f32 xDistToPlayer = player->actor.world.pos.x - this->actor.world.pos.x;
|
||||
f32 zDistToPlayer = player->actor.world.pos.z - this->actor.world.pos.z;
|
||||
f32 yDistToPlayer = player->actor.world.pos.y - this->actor.world.pos.y;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue