From e9cbcb7ad90e322dfe84a5ac1f5483d1ce384081 Mon Sep 17 00:00:00 2001 From: cadmic Date: Fri, 4 Oct 2024 01:04:53 -0700 Subject: [PATCH] Document bug in Camera_BGCheckInfo (#2258) --- src/code/z_camera.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/code/z_camera.c b/src/code/z_camera.c index fee1ae1388..6e092f7354 100644 --- a/src/code/z_camera.c +++ b/src/code/z_camera.c @@ -399,6 +399,7 @@ s32 Camera_BGCheckInfo(Camera* camera, Vec3f* from, CamColChk* to) { to->pos.y = to->norm.y + toNewPos.y; to->pos.z = to->norm.z + toNewPos.z; + //! @bug floorBgId is uninitialized if BgCheck_CameraLineTest1 returned true above return floorBgId + 1; }