X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Feffects%2Feffect.qh;h=7802f0a91be3f3ad464e41b69ad62d1a2b09c0da;hb=76de60deecae125795551ba1a4576a265d7ae7de;hp=0ae9b489360d84b58df2ecddbef48f9af100ca22;hpb=e9f30b97435c6afe3d6911f21e1f4fd1b97e93da;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/effects/effect.qh b/qcsrc/common/effects/effect.qh index 0ae9b4893..7802f0a91 100644 --- a/qcsrc/common/effects/effect.qh +++ b/qcsrc/common/effects/effect.qh @@ -1,5 +1,4 @@ -#ifndef EFFECT_H -#define EFFECT_H +#pragma once #define particleeffectnum(e) \ _particleeffectnum(e.eent_eff_name) @@ -27,11 +26,8 @@ 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; } - -#endif