dont need to do this twice

This commit is contained in:
Alug committed 2024-12-29 06:40:13 +01:00
1 parent de8c933f1c
commit 2186fc6ce0
1 file changed
-18
-18
View File
@@ -3387,24 +3387,6 @@ static void P_DemoCameraMovement(camera_t *cam, UINT8 num)
}
}
if (rendermode == render_soft
#ifdef HWRENDER
|| (rendermode == render_opengl && (cv_glshearing.value == 1))
#endif
)
{
// Extra restriction on this so it's not possible to
// distort the view too much.
if ((INT32)cam->aiming > ANGLE_45)
cam->aiming = ANGLE_45;
else if ((INT32)cam->aiming < -ANGLE_45)
cam->aiming = -ANGLE_45;
}
else
{
G_ClipAimingPitch((INT32 *)&cam->aiming);
}
cam->momx = cam->momy = cam->momz = 0;
if (cmd->forwardmove != 0)
{