]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/target/location.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / target / location.qc
index 1430cabd81ee3364a9998ff3721aca30a7a47627..554032ee60cc7221b129b36e7b880aaca60cc60a 100644 (file)
@@ -1,13 +1,13 @@
 #ifdef SVQC
 void spawnfunc_target_location()
-{
+{SELFPARAM();
     self.classname = "target_location";
     // location name in netname
     // eventually support: count, teamgame selectors, line of sight?
 }
 
 void spawnfunc_info_location()
-{
+{SELFPARAM();
     self.classname = "target_location";
     self.message = self.netname;
 }