summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-08-14 16:21:46 +0200
committerPaweł Redman <pawel.redman@gmail.com>2017-08-14 16:21:46 +0200
commit3689069f46ac92e8f1d02df7b7d122bd1e6d514f (patch)
tree0dc8e3639967f18070a6f5c30876c2003861fc4a
parent161df6fbab321a2cc78e0aacbe9d62104921e8c4 (diff)
Fix a sign error in player extrapolation.
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
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)