From e65ceea744386d1236c3439a87bebc27a5df564c Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 18 Jul 2020 23:58:46 +1000 Subject: [PATCH] Don't send movedir twice on jumppads --- qcsrc/common/mapobjects/trigger/jumppads.qc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qcsrc/common/mapobjects/trigger/jumppads.qc b/qcsrc/common/mapobjects/trigger/jumppads.qc index 2c160eae9..5138419d1 100644 --- a/qcsrc/common/mapobjects/trigger/jumppads.qc +++ b/qcsrc/common/mapobjects/trigger/jumppads.qc @@ -571,8 +571,6 @@ float trigger_push_send(entity this, entity to, float sf) WriteByte(MSG_ENTITY, this.active); WriteCoord(MSG_ENTITY, this.height); - WriteVector(MSG_ENTITY, this.movedir); - trigger_common_write(this, true); return true; @@ -704,8 +702,6 @@ NET_HANDLE(ENT_CLIENT_TRIGGER_PUSH, bool isnew) this.active = ReadByte(); this.height = ReadCoord(); - this.movedir = ReadVector(); - trigger_common_read(this, true); this.entremove = trigger_remove_generic; -- 2.39.2