Revert/fix recent romhack camera changes (#551)

* Revert/fix recent camera changes

* Undo camera direction revert
This commit is contained in:
Sunk 2024-12-10 05:56:19 -05:00 committed by GitHub
parent 839fb38ca5
commit 9285e404db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12339,7 +12339,7 @@ void mode_rom_hack_camera(struct Camera *c) {
f32 desiredHeight = sRomHackZoom ? 300 : 450;
f32* mPos = &gMarioStates[0].pos[0];
pos[0] = mPos[0] + coss(sRomHackYaw) * desiredDist;
pos[1] = pos[1] + desiredHeight;
pos[1] = mPos[1] + desiredHeight;
pos[2] = mPos[2] + sins(sRomHackYaw) * desiredDist;
// Move camera down for hangable ceilings