mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
i'm not paying too much attention, am i.
This commit is contained in:
parent
e157391387
commit
d633435cd6
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue