fix camera change

This commit is contained in:
MysterD 2022-04-11 21:09:58 -07:00
parent 84e3099d6e
commit 35a1109c21
1 changed files with 6 additions and 0 deletions

View File

@ -11852,6 +11852,12 @@ void rom_hack_cam_walk(Vec3f pos, Vec3f dir, f32 dist) {
void mode_rom_hack_camera(struct Camera *c) {
s16 oldAreaYaw = sAreaYaw;
Vec3f oldPos = {
c->pos[0],
c->pos[1],
c->pos[2],
};
// look left
if (gMarioStates[0].controller->buttonPressed & L_CBUTTONS) {
sRomHackYaw += DEGREES(45);