mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-29 07:23:01 +00:00
bettercam: camera centering is bound to L again
This commit is contained in:
parent
026361ad61
commit
9e4c0f26c9
1 changed files with 2 additions and 2 deletions
|
@ -393,8 +393,8 @@ static void newcam_zoom_button(void) {
|
||||||
newcam_distance = newcam_distance_target;
|
newcam_distance = newcam_distance_target;
|
||||||
}
|
}
|
||||||
|
|
||||||
//When you press L and R together, set the flag for centering the camera. Afterwards, start setting the yaw to the Player's yaw at the time.
|
if ((gPlayer1Controller->buttonDown & L_TRIG) && (newcam_modeflags & NC_FLAG_ZOOM)) {
|
||||||
if (gPlayer1Controller->buttonDown & L_TRIG && gPlayer1Controller->buttonDown & R_TRIG && newcam_modeflags & NC_FLAG_ZOOM) {
|
//When you press L, set the flag for centering the camera. Afterwards, start setting the yaw to the Player's yaw at the time.
|
||||||
newcam_yaw_target = -gMarioState->faceAngle[1]-0x4000;
|
newcam_yaw_target = -gMarioState->faceAngle[1]-0x4000;
|
||||||
newcam_centering = 1;
|
newcam_centering = 1;
|
||||||
} else if (gPlayer1Controller->buttonPressed & R_TRIG && newcam_modeflags & NC_FLAG_XTURN) {
|
} else if (gPlayer1Controller->buttonPressed & R_TRIG && newcam_modeflags & NC_FLAG_XTURN) {
|
||||||
|
|
Loading…
Reference in a new issue