summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-10-04 01:04:53 -0700
committerGitHub <noreply@github.com>2024-10-04 04:04:53 -0400
commite9cbcb7ad90e322dfe84a5ac1f5483d1ce384081 (patch)
tree7c0647cac9e864604372b6399baf49344b15c637 /src/code
parent089a2c4c0bd7d66d8173a12841cc955dbe871426 (diff)
Document bug in Camera_BGCheckInfo (#2258)
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_camera.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/code/z_camera.c b/src/code/z_camera.c
index fee1ae138..6e092f735 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;
}