Rebind camera centering to left trigger.

This commit is contained in:
uncletrunks 2020-05-15 19:26:44 -05:00 committed by GitHub
parent 281770eb28
commit 06e39e41ff
1 changed files with 2 additions and 2 deletions

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;