]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/modeleffects.qc
Draw: purge SELFPARAM
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / modeleffects.qc
index c376085e07aaea1aa3b105e90ec7f06942014d91..a10062a9f758c21c795824c464b9d2097102eab9 100644 (file)
@@ -1,6 +1,11 @@
 #include "modeleffects.qh"
+#include "_all.qh"
 
-void ModelEffect_Draw()
+.float cnt;
+.float scale;
+.float alpha;
+
+void ModelEffect_Draw(entity this)
 {
        self.angles = self.angles + frametime * self.avelocity;
        setorigin(self, self.origin + frametime * self.velocity);
@@ -20,7 +25,7 @@ void ModelEffect_Draw()
 }
 
 void Ent_ModelEffect(bool isNew)
-{
+{SELFPARAM();
        self.classname = "modeleffect_spawner";
 
        int f = ReadByte();