X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fg_models.qc;h=3ca062b78430e338f003d53f4f80b3496dbe42cb;hb=961f49f204b45a584a06e2ef64fb2d6b9d9af203;hp=348f307270d84b52c2ab9a6486318a948a81fdaa;hpb=12354d764a576f55a290ba11d9f34ccf4e3930d0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/g_models.qc b/qcsrc/server/g_models.qc index 348f30727..3ca062b78 100644 --- a/qcsrc/server/g_models.qc +++ b/qcsrc/server/g_models.qc @@ -1,6 +1,7 @@ #include "g_models.qh" #include "g_subs.qh" +#include #include "../common/triggers/subs.qh" #include "../common/triggers/triggers.qh" @@ -152,11 +153,11 @@ bool g_clientmodel_genericsendentity(entity this, entity to, int sf) WriteCoord(MSG_ENTITY, this.movedir.z); WriteByte(MSG_ENTITY, floor(this.lip * 255)); } - WriteShort(MSG_ENTITY, this.fade_start); - WriteShort(MSG_ENTITY, this.fade_end); - WriteShort(MSG_ENTITY, this.alpha_max); - WriteShort(MSG_ENTITY, this.alpha_min); - WriteShort(MSG_ENTITY, this.inactive); + WriteByte(MSG_ENTITY, this.fade_start); + WriteByte(MSG_ENTITY, this.fade_end); + WriteByte(MSG_ENTITY, this.alpha_max); + WriteByte(MSG_ENTITY, this.alpha_min); + WriteByte(MSG_ENTITY, this.inactive); WriteShort(MSG_ENTITY, this.fade_vertical_offset); }