diff options
| author | mzxrules <mzxrules@gmail.com> | 2026-08-29 11:44:47 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-29 08:44:47 -0700 |
| commit | acffd6443fb136b9ae105785863900ecd96c5ebf (patch) | |
| tree | 6ff3eef4e7de1314870f267bd05a39634968c11c /src/code/z_fireobj.c | |
| parent | 31b5e861b2f83cea4e16753eb946b28100ff3375 (diff) | |
Documentation pass on WaterBox code (#1860)
* Documentation pass on WaterBox code
* format
* vtx flags, fix comments
* format
* Add function documentation comment
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 fea019079..a3274b9f3 100644 --- a/src/code/z_fireobj.c +++ b/src/code/z_fireobj.c @@ -108,7 +108,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) && + BgCheck_GetWaterSurfaceNoBgId(play, &play->colCtx, fire->position.x, fire->position.z, &waterY, &waterBox) && ((waterY - fire->position.y) > (6500.0f * fire->yScale))) { FireObj_SetState(fire, fire->dynamicSizeStep, FIRE_STATE_NOT_LIT); } |
