From 3689069f46ac92e8f1d02df7b7d122bd1e6d514f Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Mon, 14 Aug 2017 16:21:46 +0200 Subject: Fix a sign error in player extrapolation. --- src/game/g_active.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_active.c') diff --git a/src/game/g_active.c b/src/game/g_active.c index e1a7153..15f450a 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1633,7 +1633,7 @@ static void ClientExtrapolate(gentity_t *ent) break; } - VectorSubtract(pos2->origin, pos1->origin, dxdt); + VectorSubtract(pos1->origin, pos2->origin, dxdt); VectorScale(dxdt, 1.0f / time_delta, dxdt); if (flags & 16) -- cgit