]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/weapons/spawning.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / spawning.qc
index 3c3c9d80695fde47bfb984a548919eb643cc19d2..73ce1de78aec9803ab8323ebbecd630a4b88eb64 100644 (file)
@@ -35,7 +35,7 @@ string W_Apply_Weaponreplace(string in)
 }
 
 void weapon_defaultspawnfunc(float wpn)
-{
+{SELFPARAM();
        entity e;
        float t;
        string s;