]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
entcs: use REGISTER_NET_TEMP, not REGISTER_NET_LINKED
authorTimePath <andrew.hardaker1995@gmail.com>
Fri, 4 Dec 2015 06:02:56 +0000 (17:02 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Fri, 4 Dec 2015 06:02:56 +0000 (17:02 +1100)
qcsrc/common/ent_cs.qc
qcsrc/common/ent_cs.qh

index bb716ca3b8970af0f4ffbf3b758e07e5042f829e..732a1d455c8cb8046eee6013266c14d466db6486 100644 (file)
        #undef X
                this.iflags |= IFLAG_ORIGIN;
                InterpolateOrigin_Note(this);
-               this.think();
+               WITH(entity, self, this, this.think());
                return true;
        }
 
index 53aa15116ea94f44654333ec620b38d7d188cd5a..363103b379240df971717a17b8cc5daa8f191e78 100644 (file)
@@ -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;