From: TimePath Date: Fri, 4 Dec 2015 06:02:56 +0000 (+1100) Subject: entcs: use REGISTER_NET_TEMP, not REGISTER_NET_LINKED X-Git-Tag: xonotic-v0.8.2~1562 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ea1141cd3c72405e228c4f511d6cbc0d1056cc7f;p=xonotic%2Fxonotic-data.pk3dir.git entcs: use REGISTER_NET_TEMP, not REGISTER_NET_LINKED --- diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index bb716ca3b..732a1d455 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -183,7 +183,7 @@ #undef X this.iflags |= IFLAG_ORIGIN; InterpolateOrigin_Note(this); - this.think(); + WITH(entity, self, this, this.think()); return true; } diff --git a/qcsrc/common/ent_cs.qh b/qcsrc/common/ent_cs.qh index 53aa15116..363103b37 100644 --- a/qcsrc/common/ent_cs.qh +++ b/qcsrc/common/ent_cs.qh @@ -2,7 +2,7 @@ #define ENT_CS_H REGISTER_NET_LINKED(ENT_CLIENT_ENTCS) -REGISTER_NET_LINKED(CLIENT_ENTCS) +REGISTER_NET_TEMP(CLIENT_ENTCS) /** True when private information such as origin is available */ .bool m_entcs_private;