From e347a08ae23a7a5561c9447f8bd5536c6f7e4dbb Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 13 Nov 2011 15:58:27 +0100 Subject: [PATCH] DP networks velocity already, so we don't have to --- qcsrc/common/csqcmodel.qc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qcsrc/common/csqcmodel.qc b/qcsrc/common/csqcmodel.qc index 4ff53d4db4..2108044954 100644 --- a/qcsrc/common/csqcmodel.qc +++ b/qcsrc/common/csqcmodel.qc @@ -7,9 +7,6 @@ PROPERTY(1, ReadCoord, WriteCoord, origin_x) \ PROPERTY(1, ReadCoord, WriteCoord, origin_y) \ PROPERTY(1, ReadCoord, WriteCoord, origin_z) \ - PROPERTY(1, ReadCoord, WriteCoord, velocity_x) \ - PROPERTY(1, ReadCoord, WriteCoord, velocity_y) \ - PROPERTY(1, ReadCoord, WriteCoord, velocity_z) \ PROPERTY(2, ReadAngle, WriteAngle, angles_x) \ PROPERTY(2, ReadAngle, WriteAngle, angles_y) \ PROPERTY(2, ReadAngle, WriteAngle, angles_z) \ @@ -182,7 +179,7 @@ void CSQCModel_SetCamera() { vector o, v; o = self.origin; - v = self.velocity; + v = pmove_vel; // TRICK: pmove_vel is set by the engine when we get here. No need to network velocity self.status = 2; PredictTo(servercommandframe + 1); SetPredictionError(o - self.origin); -- 2.39.5