i'm not paying too much attention, am i.

This commit is contained in:
Jaime Passos 2020-02-08 18:08:56 -03:00
parent e157391387
commit d633435cd6
3 changed files with 3 additions and 3 deletions

View File

@ -5594,7 +5594,7 @@ static void HWR_SetTransformAiming(FTransform *trans, player_t *player, boolean
{
// 1 = always on
// 2 = chasecam only
if (cv_grshearing.value == 1 || (cv_grshearing.value == 2 && R_IsViewpointFirstPerson(player, skybox)))
if (cv_grshearing.value == 1 || (cv_grshearing.value == 2 && R_IsViewpointThirdPerson(player, skybox)))
{
fixed_t fixedaiming = AIMINGTODY(aimingangle);
trans->viewaiming = FIXED_TO_FLOAT(fixedaiming);

View File

@ -1028,7 +1028,7 @@ boolean R_ViewpointHasChasecam(player_t *player)
return chasecam;
}
boolean R_IsViewpointFirstPerson(player_t *player, boolean skybox)
boolean R_IsViewpointThirdPerson(player_t *player, boolean skybox)
{
boolean chasecam = R_ViewpointHasChasecam(player);

View File

@ -106,7 +106,7 @@ void R_SetupFrame(player_t *player);
void R_SkyboxFrame(player_t *player);
boolean R_ViewpointHasChasecam(player_t *player);
boolean R_IsViewpointFirstPerson(player_t *player, boolean skybox);
boolean R_IsViewpointThirdPerson(player_t *player, boolean skybox);
// Called by D_Display.
void R_RenderPlayerView(player_t *player);