mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-10 19:01:46 +00:00
Fix wrong angle direction on first person cam c button turning always
This commit is contained in:
parent
ec28e164db
commit
2d65cbfa1a
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ static void first_person_camera_update(void) {
|
|||
s16 extStickX = m->controller->extStickX;
|
||||
s16 extStickY = m->controller->extStickY;
|
||||
if (extStickX == 0) {
|
||||
extStickX = (clamp(m->controller->buttonDown & R_CBUTTONS, 0, 1) - clamp(m->controller->buttonDown & L_CBUTTONS, 0, 1)) * 32;
|
||||
extStickX = (clamp(m->controller->buttonDown & L_CBUTTONS, 0, 1) - clamp(m->controller->buttonDown & R_CBUTTONS, 0, 1)) * 32;
|
||||
}
|
||||
if (extStickY == 0) {
|
||||
extStickY = (clamp(m->controller->buttonDown & U_CBUTTONS, 0, 1) - clamp(m->controller->buttonDown & D_CBUTTONS, 0, 1)) * 24;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue