mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-07 19:31:19 -04:00
d_s_room / d_s_name / d_a_title debug work (#3123)
* d_s_room / d_s_name debug work * camera_class rtti fix * d_a_title debug / handle shield rel changes * fix shield build * fix regressions
This commit is contained in:
@@ -543,8 +543,8 @@ static void bee_control(e_bee_class* i_this) {
|
||||
bee->mNoDraw = false;
|
||||
|
||||
if (dComIfGp_checkPlayerStatus0(0, 0x200000)) {
|
||||
vec3.x = bee->mPos.x - camera->lookat.eye.x;
|
||||
vec3.z = bee->mPos.z - camera->lookat.eye.z;
|
||||
vec3.x = bee->mPos.x - camera->view.lookat.eye.x;
|
||||
vec3.z = bee->mPos.z - camera->view.lookat.eye.z;
|
||||
if (JMAFastSqrt(vec3.x * vec3.x + vec3.z * vec3.z) > NREG_F(0) + 2500.0f) {
|
||||
bee->mNoDraw = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user