summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/g_active.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 326129b..b745b30 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1636,10 +1636,9 @@ static void ClientExtrapolate(gentity_t *ent)
VectorSubtract(pos2->origin, pos1->origin, dxdt);
VectorScale(dxdt, 1.0f / time_delta, dxdt);
+ time_since = level.time - pos2->time;
if (flags & 16)
- time_since = level.time - pos2->client_time;
- else
- time_since = level.time - pos2->time;
+ time_since -= 50;
VectorMA(pos2->origin, time_since, dxdt, ent->s.pos.trBase);