]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/all.qh
Use think accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / all.qh
index 95b7225cc680c95350b49fe92d32deb31143e045..4354cc415fd056ffc75d22d99e0708c3417a15d4 100644 (file)
@@ -114,7 +114,7 @@ void W_PROP_think()
 STATIC_INIT_LATE(W_PROP_reloader)
 {
     entity e = W_PROP_reloader = new_pure(W_PROP_reloader);
-    WITHSELF(e, (e.think = W_PROP_think)());
+    WITHSELF(e, (setthink(e, W_PROP_think))());
 }
 #endif