mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +00:00
Remove many redundant parentheses (eg. in boolean conditions) (#1220)
* Remove many unnecessary parens around boolean conditions * Remove duplicate parens in some expressions * Apply review suggestions * Update src/overlays/actors/ovl_Bg_Jya_Lift/z_bg_jya_lift.c Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com> Co-authored-by: EllipticEllipsis <elliptic.ellipsis@gmail.com>
This commit is contained in:
parent
c799176a30
commit
92aef346f2
36 changed files with 67 additions and 67 deletions
|
@ -4523,7 +4523,7 @@ void func_808E2544(Actor* thisx, GlobalContext* globalCtx) {
|
|||
xzDist = (this->unk_1C2 == 0xC) ? -65.0f : 0.0f;
|
||||
|
||||
if ((fabsf(this->actor.world.pos.x) > (465.0f + xzDist)) ||
|
||||
(fabsf(this->actor.world.pos.z) > (465.0f + xzDist)) || ((this->actor.world.pos.y < 0.0f)) ||
|
||||
(fabsf(this->actor.world.pos.z) > (465.0f + xzDist)) || (this->actor.world.pos.y < 0.0f) ||
|
||||
(this->actor.world.pos.y > 450.0f)) {
|
||||
this->unk_1C2 = 1;
|
||||
this->actor.speedXZ = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue