]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
W_PROP_reloader: pure
authorTimePath <andrew.hardaker1995@gmail.com>
Sat, 12 Mar 2016 06:47:30 +0000 (17:47 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sat, 12 Mar 2016 06:47:30 +0000 (17:47 +1100)
qcsrc/common/weapons/all.qh

index 045651539a8f489a4e7efb946b9f685238a3a4b7..0e1b5439f7e8cb06a2b9eddd186bb48e7c41cb90 100644 (file)
@@ -113,8 +113,7 @@ void W_PROP_think()
 }
 STATIC_INIT_LATE(W_PROP_reloader)
 {
-    entity e = W_PROP_reloader = new(W_PROP_reloader);
-    make_pure(e);
+    entity e = W_PROP_reloader = new_pure(W_PROP_reloader);
     WITH(entity, self, e, (e.think = W_PROP_think)());
 }
 #endif