]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/teleport.qc
Use SELFPARAM() in every function that uses self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / teleport.qc
index d983cf3aec1d23842ef0f5367e268f4b86fa3fb9..5adc1505c536d7995fbf0235031c5ae117515dcb 100644 (file)
@@ -1,6 +1,6 @@
 #ifdef SVQC
 void trigger_teleport_use()
-{
+{SELFPARAM();
        if(teamplay)
                self.team = activator.team;
 #ifdef SVQC
@@ -9,7 +9,7 @@ void trigger_teleport_use()
 }
 
 void Teleport_Touch (void)
-{
+{SELFPARAM();
        entity oldself;
        string s;
 
@@ -53,7 +53,7 @@ void Teleport_Touch (void)
 }
 
 void spawnfunc_trigger_teleport()
-{
+{SELFPARAM();
        self.angles = '0 0 0';
 
        EXACTTRIGGER_INIT;