summaryrefslogtreecommitdiff
path: root/src/code/z_fireobj.c
diff options
context:
space:
mode:
authorengineer124 <47598039+engineer124@users.noreply.github.com>2024-06-25 10:54:14 +1000
committerGitHub <noreply@github.com>2024-06-24 17:54:14 -0700
commit0bb57352a52ba8fa3d361d2f88c2b9063fa71f62 (patch)
treec9afbadf18bfde40ff39bf501c82d40840186e13 /src/code/z_fireobj.c
parentbb221b4a0fb588389a0847d38ba010c0e46f34d6 (diff)
Animation Cleanup: En_T* (#1522)
* anim T cleanup * more cleanup * brackets and floats * small thing * more floats * fix name * fix * format --------- Co-authored-by: angie <angheloalf95@gmail.com>
Diffstat (limited to 'src/code/z_fireobj.c')
-rw-r--r--src/code/z_fireobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_fireobj.c b/src/code/z_fireobj.c
index 8f75a4d3e..dd98ef8ea 100644
--- a/src/code/z_fireobj.c
+++ b/src/code/z_fireobj.c
@@ -109,7 +109,7 @@ void FireObj_UpdateStateTransitions(PlayState* play, FireObj* fire) {
if ((fire->flags & FIRE_FLAG_WATER_EXTINGUISHABLE) && (fire->state != FIRE_STATE_NOT_LIT) &&
WaterBox_GetSurface1_2(play, &play->colCtx, fire->position.x, fire->position.z, &waterY, &waterBox) &&
- (waterY - fire->position.y > 6500.0f * fire->yScale)) {
+ ((waterY - fire->position.y) > (6500.0f * fire->yScale))) {
FireObj_SetState(fire, fire->dynamicSizeStep, FIRE_STATE_NOT_LIT);
}
if ((fire->flags & FIRE_FLAG_INTERACT_STICK) && (player->heldItemAction == PLAYER_IA_DEKU_STICK)) {