File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1016,10 +1016,11 @@ void CG_PredictPlayerState( void ) {
10161016 VectorCopy (oldPlayerState .origin , cg .last_pmove_fixed );
10171017
10181018 // We can be very conservative about when we choose to stitch.
1019+ // Note with thirdperson check cannot use cg.renderingThirdPerson call here as its set after this function is called in CG_DrawActiveFrame
10191020 if (cg_pmovesmooth .integer &&
10201021 cg .predictedPlayerState .commandTime - oldPlayerState .commandTime <= cgs .pmove_msec &&
10211022 DistanceSquared (cg .predictedPlayerState .origin , cg .last_pmove_fixed ) < SQR (16 ) &&
1022- !cg .thisFrameTeleport ) {
1023+ !cg .thisFrameTeleport && ! cg_thirdPerson . integer && !( cg . predictedPlayerState . pm_flags & PMF_CHASE ) ) {
10231024 vec3_t diff ;
10241025 float dt = 1 + (cg .predictedPlayerState .commandTime % cgs .pmove_msec );
10251026 dt /= 1.0 * cgs .pmove_msec ;
You can’t perform that action at this time.
0 commit comments