]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/stardust.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / stardust.qc
index 30c406f61e46d94f10640757ab691d351128ff2f..0c329cdb273eeb0e8166d41c36032ff436c774e0 100644 (file)
@@ -1,8 +1,8 @@
 #ifdef SVQC
 void spawnfunc_func_stardust()
-{
+{SELFPARAM();
        self.effects = EF_STARDUST;
 
-       CSQCMODEL_AUTOINIT();
+       CSQCMODEL_AUTOINIT(self);
 }
 #endif