]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/effects/effect.qh
Merge branch 'master' into Mario/csqc_muzzleflash
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / effects / effect.qh
index 0ae9b489360d84b58df2ecddbef48f9af100ca22..7802f0a91be3f3ad464e41b69ad62d1a2b09c0da 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef EFFECT_H
-#define EFFECT_H
+#pragma once
 
 #define particleeffectnum(e) \
        _particleeffectnum(e.eent_eff_name)
 
 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