From: Mario Date: Sat, 18 Jul 2020 13:58:46 +0000 (+1000) Subject: Don't send movedir twice on jumppads X-Git-Tag: xonotic-v0.8.5~850 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e65ceea744386d1236c3439a87bebc27a5df564c;p=xonotic%2Fxonotic-data.pk3dir.git Don't send movedir twice on jumppads --- 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;