From 90bbe4a6f38b046669cc85a81d628ad83f73065a Mon Sep 17 00:00:00 2001 From: Qlonever <42286723+Qlonever@users.noreply.github.com> Date: Fri, 27 Dec 2024 21:11:33 -0500 Subject: [PATCH] update variable name --- src/engine/fox_bg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/fox_bg.c b/src/engine/fox_bg.c index d82d1c1a..fca443c5 100644 --- a/src/engine/fox_bg.c +++ b/src/engine/fox_bg.c @@ -524,7 +524,7 @@ void Background_DrawBackdrop(void) { case LEVEL_CORNERIA: case LEVEL_VENOM_1: { // Calculate vertical and horizontal offsets - f32 sp134 = (gPlayer[gPlayerNum].camPitch * -6000.0f) - (gPlayer[gPlayerNum].cam.eye.y * 0.6f); + f32 bgYpos = (gPlayer[gPlayerNum].camPitch * -6000.0f) - (gPlayer[gPlayerNum].cam.eye.y * 0.6f); f32 sp13C = Math_ModF(Math_RadToDeg(gPlayer[gPlayerNum].camYaw) * (-7280.0f / 360.0f) * 5.0f, 7280.0f); f32 corneriaCamYawDeg = Math_RadToDeg(gPlayer[0].camYaw);