X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Feffects%2Feffect.qh;h=e58d42ca7b4ba55f9ed82af6b623bd1d21a6b883;hb=2487070c23bdcfc8ac60d414356ec43f52ec1a57;hp=0ae9b489360d84b58df2ecddbef48f9af100ca22;hpb=317ec3eb27ada1c4668876e9499136125acb7984;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/effects/effect.qh b/qcsrc/common/effects/effect.qh index 0ae9b4893..e58d42ca7 100644 --- a/qcsrc/common/effects/effect.qh +++ b/qcsrc/common/effects/effect.qh @@ -27,8 +27,7 @@ entity Create_Effect_Entity(string eff_name, bool eff_trail) { - entity this = new(effect_entity); - make_pure(this); + entity this = new_pure(effect_entity); this.eent_eff_name = eff_name; this.eent_eff_trail = eff_trail; return this;