mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-09 21:00:40 -04:00
uncomment code in z_camera.c (#6709)
pointed out by Evangelia, cause of discrepancy in crawlspace glitch * [Console](https://www.youtube.com/watch?v=2_tFHeEvXI0) * [SoH](https://www.youtube.com/watch?v=-u3TzbdUr3c)
This commit is contained in:
@@ -4543,9 +4543,9 @@ s32 Camera_Subj4(Camera* camera) {
|
||||
}
|
||||
|
||||
anim->unk_28 = temp_f16;
|
||||
// camera->player->actor.world.pos = *eyeNext;
|
||||
// camera->player->actor.world.pos.y = camera->playerGroundY;
|
||||
// camera->player->actor.shape.rot.y = sp64.yaw;
|
||||
camera->player->actor.world.pos = *eyeNext;
|
||||
camera->player->actor.world.pos.y = camera->playerGroundY;
|
||||
camera->player->actor.shape.rot.y = sp64.yaw;
|
||||
temp_f16 = ((240.0f * temp_f16) * (anim->unk_24 * 0.416667f));
|
||||
temp_a0 = temp_f16 + anim->unk_30;
|
||||
at->x = eye->x + (Math_SinS(temp_a0) * 10.0f);
|
||||
|
||||
Reference in New Issue
Block a user