From: Mario Date: Fri, 17 Mar 2017 00:14:44 +0000 (+1000) Subject: Send .frags as a short, not a byte X-Git-Tag: xonotic-v0.8.2~45^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a86ab285513cf780f11d94723e6e1611c343179;p=xonotic%2Fxonotic-data.pk3dir.git Send .frags as a short, not a byte --- diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index 7777e84fa..12abc21b1 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -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