]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Allow any height value
authorMario <mario@smbclan.net>
Tue, 1 Dec 2015 12:53:55 +0000 (22:53 +1000)
committerMario <mario@smbclan.net>
Tue, 1 Dec 2015 12:53:55 +0000 (22:53 +1000)
qcsrc/common/triggers/trigger/jumppads.qc

index 07c9d6da9ba71c4ec2154d0ca04e5e824703e8c5..390bae206e381c18c6b429c1d5fc0be062581dd3 100644 (file)
@@ -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);