mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-27 20:41:42 +00:00
Fix rom hack camera inversion
This commit is contained in:
parent
9b6e891b1c
commit
885edd165d
1 changed files with 2 additions and 2 deletions
|
|
@ -12275,13 +12275,13 @@ void mode_rom_hack_camera(struct Camera *c) {
|
|||
|
||||
// look left
|
||||
if (gMarioStates[0].controller->buttonPressed & L_CBUTTONS) {
|
||||
sRomHackYaw += DEGREES(45) * (camera_config_is_x_inverted() ? -1 : 1);
|
||||
sRomHackYaw -= DEGREES(45) * (camera_config_is_x_inverted() ? -1 : 1);
|
||||
play_sound_cbutton_side();
|
||||
}
|
||||
|
||||
// look right
|
||||
if (gMarioStates[0].controller->buttonPressed & R_CBUTTONS) {
|
||||
sRomHackYaw -= DEGREES(45) * (camera_config_is_x_inverted() ? -1 : 1);
|
||||
sRomHackYaw += DEGREES(45) * (camera_config_is_x_inverted() ? -1 : 1);
|
||||
play_sound_cbutton_side();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue