]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Send .frags as a short, not a byte 425/head
authorMario <mario@smbclan.net>
Fri, 17 Mar 2017 00:14:44 +0000 (10:14 +1000)
committerMario <mario@smbclan.net>
Fri, 17 Mar 2017 00:14:44 +0000 (10:14 +1000)
qcsrc/common/ent_cs.qc

index 7777e84fa890a8084a50ccf57c5eb2444d70b0cd..12abc21b18a255a29821912a00f8968ac1588ff9 100644 (file)
@@ -78,8 +78,8 @@ ENTCS_PROP(CLIENTCOLORS, true, clientcolors, ENTCS_SET_NORMAL,
        { ent.colormap = ReadByte(); })
 
 ENTCS_PROP(FRAGS, true, frags, ENTCS_SET_NORMAL,
-       { WriteByte(chan, ent.frags); },
-       { ent.frags = ReadByte(); })
+       { WriteShort(chan, ent.frags); },
+       { ent.frags = ReadShort(); })
 
 #ifdef SVQC