diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2024-06-25 10:54:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-24 17:54:14 -0700 |
| commit | 0bb57352a52ba8fa3d361d2f88c2b9063fa71f62 (patch) | |
| tree | c9afbadf18bfde40ff39bf501c82d40840186e13 /src/code/z_fireobj.c | |
| parent | bb221b4a0fb588389a0847d38ba010c0e46f34d6 (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.c | 2 |
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)) { |
