X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fent_cs.qc;h=85119de08825c52ab9c6692d87d4d9a3eb9fd83b;hb=90ac5f4f1f4aa420546283c58953f387b82e33ba;hp=5366371458fe52fadb86e3c2d7fc3dd8b2ca44db;hpb=b661d07fc75cd9448da4fe89af98b426b4e94c7f;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index 536637145..85119de08 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -115,7 +115,7 @@ ENTCS_PROP(ORIGIN, false, origin, origin, ENTCS_SET_NORMAL, { WriteVector(chan, ent.origin); }, { ent.has_sv_origin = true; vector v = ReadVector(); setorigin(ent, v); }) -#define DEC_FACTOR (360 / 32) +#define DEC_FACTOR (360 / 64) ENTCS_PROP_CODED(ANGLES, false, angles_y, angles_y, ENTCS_SET_NORMAL, DEC_FACTOR, { WriteByte(chan, ent.angles.y / DEC_FACTOR); }, { vector v = '0 0 0'; v.y = ReadByte() * DEC_FACTOR; ent.angles = v; }) @@ -230,8 +230,8 @@ ENTCS_PROP(SOLID, true, sv_solid, solid, ENTCS_SET_NORMAL, } // always send origin of players even if they stand still otherwise - // if a teammate isn't in my pvs and his health (or view angle or name - // etc...) changes then his tag disappears + // if a teammate isn't in my pvs and their health (or view angle or name + // etc...) changes then their tag disappears if (IS_PLAYER(this.owner)) this.SendFlags |= BIT(ENTCS_PROP_ORIGIN_id);