1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 09:45:02 +00:00

Document bug in Camera_BGCheckInfo (#2258)

This commit is contained in:
cadmic 2024-10-04 01:04:53 -07:00 committed by GitHub
parent 089a2c4c0b
commit e9cbcb7ad9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -399,6 +399,7 @@ s32 Camera_BGCheckInfo(Camera* camera, Vec3f* from, CamColChk* to) {
to->pos.y = to->norm.y + toNewPos.y; to->pos.y = to->norm.y + toNewPos.y;
to->pos.z = to->norm.z + toNewPos.z; to->pos.z = to->norm.z + toNewPos.z;
//! @bug floorBgId is uninitialized if BgCheck_CameraLineTest1 returned true above
return floorBgId + 1; return floorBgId + 1;
} }