From 558345819ab76cfa6652a15cec73d074facfa62c Mon Sep 17 00:00:00 2001 From: Andrei Drexler Date: Wed, 1 Jul 2009 06:07:05 +0000 Subject: [PATCH] Crash with dll's. --- reaction/cgame/cg_predict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reaction/cgame/cg_predict.c b/reaction/cgame/cg_predict.c index 7f2bdb30..90c5d759 100644 --- a/reaction/cgame/cg_predict.c +++ b/reaction/cgame/cg_predict.c @@ -609,7 +609,7 @@ void CG_PredictPlayerState(void) /* 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_pmove.ps->pm_type == PM_DEAD ) { + || (cg_pmove.ps && cg_pmove.ps->pm_type == PM_DEAD) ) { CG_InterpolatePlayerState(qfalse); return; }