]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/ent_cs.qc
Fix (de)activation of func_button
[xonotic/xonotic-data.pk3dir.git] / 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