From 1b28547673bfde885214b08e506224c976b861a7 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Mon, 26 Oct 2009 01:05:29 +0000 Subject: * Fix projectiles being nudged incorrectly during demos (Roman Tetelman) --- src/cgame/cg_ents.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/cgame/cg_ents.c b/src/cgame/cg_ents.c index 96e5faf6..f4b0e671 100644 --- a/src/cgame/cg_ents.c +++ b/src/cgame/cg_ents.c @@ -959,9 +959,10 @@ static void CG_CalcEntityLerpPositions( centity_t *cent ) return; } - if( cg_projectileNudge.integer > 0 && - cent->currentState.eType == ET_MISSILE && - !( cg.snap->ps.pm_flags & PMF_FOLLOW ) ) + if( cg_projectileNudge.integer && + !cg.demoPlayback && + cent->currentState.eType == ET_MISSILE && + !( cg.snap->ps.pm_flags & PMF_FOLLOW ) ) { timeshift = cg.ping; } -- cgit