Rebind camera centering to left trigger.

This commit is contained in:
uncletrunks 2020-05-15 19:26:44 -05:00 committed by GitHub
parent 2b098781b8
commit 59a33aa604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -378,8 +378,8 @@ static void newcam_zoom_button(void)
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 && 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.
if (gPlayer1Controller->buttonDown & L_TRIG && newcam_modeflags & NC_FLAG_ZOOM)
{
newcam_yaw_target = -gMarioState->faceAngle[1]-0x4000;
newcam_centering = 1;