]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/mutator_pinata.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_pinata.qc
index 5dd6aa92e46e90b02aae2e1277f70460b9243db7..71262b923df8ca18e4ff4a6b36ab7d18cb46f30f 100644 (file)
@@ -3,7 +3,7 @@
 #include "mutator.qh"
 
 MUTATOR_HOOKFUNCTION(pinata_PlayerDies)
-{
+{SELFPARAM();
        float j;
        for(j = WEP_FIRST; j <= WEP_LAST; ++j)
        if(self.weapons & WepSet_FromWeapon(j))