summaryrefslogtreecommitdiff
path: root/src/code/z_fireobj.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2022-07-23 12:15:09 -0700
committerGitHub <noreply@github.com>2022-07-23 15:15:09 -0400
commit63447c564944c6b3514f0e6e33de97ae1bd6c46b (patch)
treeb8381c9730d4cde24e840120755591cce51c90b9 /src/code/z_fireobj.c
parentdfd00a8c1f667f7ee14228fc78a9d747fdf9cd32 (diff)
General Cleanup 7 (#944)
* (f32*) cast * fireobj * BgKeikokuSaku h file newline * dmchar07 flag defines * EnKakasi h file comments * ObjKibako2Contents * ++ ^ 1 * func_80B4BA84 * EnBji01 * EnShn * render modes * D_80097F90 * xprintf * WeatherTag * Sram_InitDebugSave * func_80C1DF18 * func_80183430 * ObjRaillift_Move * DmChar00Struct * format * DmNb csAction * Revert "EnKakasi h file comments" This reverts commit a6b5f97826f4eb5140050c65cdc40cd142d5a573. * title
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 e1fb63fa1..f77fc5158 100644
--- a/src/code/z_fireobj.c
+++ b/src/code/z_fireobj.c
@@ -187,7 +187,7 @@ void FireObj_UpdateLight(PlayState* play, FireObjLight* light, FireObj* fire) {
if (fire->state == FIRE_STATE_3) {
Lights_PointSetColorAndRadius(&light->lightInfo, 0, 0, 0, -1);
} else {
- radius = ((fire->yScale * 140.0f * fire->sizeInv) + 60.0f);
+ radius = (fire->yScale * 140.0f * fire->sizeInv) + 60.0f;
Lights_PointGlowSetInfo(&light->lightInfo, fire->position.x, (fire->position.y + (fire->yScale * 6500.0f)),
fire->position.z,