If we are PM_DEAD, go use interpolated player state, rather then carying
on.
This commit is contained in:
Scott Brooks 2009-07-01 04:08:33 +00:00
parent d8723fdc25
commit 6c05fcddee

View file

@ -608,7 +608,8 @@ void CG_PredictPlayerState(void)
// JBravo: Zcam fix
/* camera jitter fix (client side) */
if (cg.demoPlayback || (cg.snap->ps.pm_flags & PMF_FOLLOW) ||
((cg.snap->ps.stats[STAT_RQ3] & RQ3_ZCAM) == RQ3_ZCAM)) {
((cg.snap->ps.stats[STAT_RQ3] & RQ3_ZCAM) == RQ3_ZCAM)
|| cg_pmove.ps->pm_type == PM_DEAD ) {
CG_InterpolatePlayerState(qfalse);
return;
}