]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/trigger/jumppads.qc
Purge most cases of self from the client folder
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / trigger / jumppads.qc
index c83ea06fa220765223c6fc12437ac26f61bfebc2..3c1534c9785b67859c46eb48f68ce507977cced5 100644 (file)
@@ -453,15 +453,15 @@ NET_HANDLE(ENT_CLIENT_TRIGGER_PUSH, bool isnew)
        return true;
 }
 
-void target_push_remove()
-{SELFPARAM();
-       if(self.classname)
-               strunzone(self.classname);
-       self.classname = string_null;
+void target_push_remove(entity this)
+{
+       if(this.classname)
+               strunzone(this.classname);
+       this.classname = string_null;
 
-       if(self.targetname)
-               strunzone(self.targetname);
-       self.targetname = string_null;
+       if(this.targetname)
+               strunzone(this.targetname);
+       this.targetname = string_null;
 }
 
 NET_HANDLE(ENT_CLIENT_TARGET_PUSH, bool isnew)