diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-26 01:05:29 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:05 +0000 |
commit | 1b28547673bfde885214b08e506224c976b861a7 (patch) | |
tree | acf6de2a026b926c4d2310cbfa14bee29561967b /src | |
parent | 3b8a2801185fdbebc6e0cc10670a1dcda98a6e90 (diff) |
* Fix projectiles being nudged incorrectly during demos (Roman Tetelman)
Diffstat (limited to 'src')
-rw-r--r-- | src/cgame/cg_ents.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; } |