summaryrefslogtreecommitdiff
path: root/src/cgame/cg_snapshot.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-14 00:57:46 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:14 +0100
commite52255589bcd37a841cf275e13ae1abf427c7c79 (patch)
tree5045c7cca6553ef0879ae37f3ce2b82ad6b6efc2 /src/cgame/cg_snapshot.c
parentc823eaf3beb186dc4cf42fb4a41be1291069d77a (diff)
drop the use of the origin and angles fields of entityState_t in the cgame module (use lerp values instead)
Diffstat (limited to 'src/cgame/cg_snapshot.c')
-rw-r--r--src/cgame/cg_snapshot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgame/cg_snapshot.c b/src/cgame/cg_snapshot.c
index 3862c787..5567884b 100644
--- a/src/cgame/cg_snapshot.c
+++ b/src/cgame/cg_snapshot.c
@@ -41,8 +41,8 @@ static void CG_ResetEntity( centity_t *cent )
cent->trailTime = cg.snap->serverTime;
- VectorCopy( cent->currentState.origin, cent->lerpOrigin );
- VectorCopy( cent->currentState.angles, cent->lerpAngles );
+ VectorCopy( cent->currentState.pos.trBase, cent->lerpOrigin );
+ VectorCopy( cent->currentState.apos.trBase, cent->lerpAngles );
if( cent->currentState.eType == ET_PLAYER )
CG_ResetPlayerEntity( cent );