Rebind camera centering to left trigger.
This commit is contained in:
parent
281770eb28
commit
06e39e41ff
|
@ -378,8 +378,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.
|
//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 && gPlayer1Controller->buttonDown & R_TRIG && newcam_modeflags & NC_FLAG_ZOOM)
|
if (gPlayer1Controller->buttonDown & L_TRIG && newcam_modeflags & NC_FLAG_ZOOM)
|
||||||
{
|
{
|
||||||
newcam_yaw_target = -gMarioState->faceAngle[1]-0x4000;
|
newcam_yaw_target = -gMarioState->faceAngle[1]-0x4000;
|
||||||
newcam_centering = 1;
|
newcam_centering = 1;
|
||||||
|
|
Loading…
Reference in New Issue