From: TimePath Date: Sat, 12 Mar 2016 06:47:30 +0000 (+1100) Subject: W_PROP_reloader: pure X-Git-Tag: xonotic-v0.8.2~1119 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=31ca5938039b6bf61a583aa11f52e0b1ffeb3f63;p=xonotic%2Fxonotic-data.pk3dir.git W_PROP_reloader: pure --- diff --git a/qcsrc/common/weapons/all.qh b/qcsrc/common/weapons/all.qh index 045651539..0e1b5439f 100644 --- a/qcsrc/common/weapons/all.qh +++ b/qcsrc/common/weapons/all.qh @@ -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