From: Mario Date: Tue, 1 Dec 2015 12:53:55 +0000 (+1000) Subject: Allow any height value X-Git-Tag: xonotic-v0.8.2~1595 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0bae91a28ede75ef2abbeffa5818291e1e6868f1;p=xonotic%2Fxonotic-data.pk3dir.git Allow any height value --- diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index 07c9d6da9..390bae206 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -330,7 +330,7 @@ float trigger_push_send(entity this, entity to, float sf) WriteByte(MSG_ENTITY, self.team); WriteInt24_t(MSG_ENTITY, self.spawnflags); WriteByte(MSG_ENTITY, self.active); - WriteByte(MSG_ENTITY, self.height); + WriteCoord(MSG_ENTITY, self.height); trigger_common_write(true); } @@ -428,7 +428,7 @@ NET_HANDLE(ENT_CLIENT_TRIGGER_PUSH, bool isnew) int mytm = ReadByte(); if(mytm) { self.team = mytm - 1; } self.spawnflags = ReadInt24_t(); self.active = ReadByte(); - self.height = ReadByte(); + self.height = ReadCoord(); trigger_common_read(true);