]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/anticheat.qc
ClientConnect: cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / anticheat.qc
index 79442299e197343ccd6b4c32aa769c0f7bf5e173..877d41657ca9741e77bc7c09f03a0b3aa0cb1f42 100644 (file)
@@ -239,10 +239,10 @@ void anticheat_endframe()
        anticheat_div0_evade_evasion_delta += frametime * (0.5 + random());
 }
 
-void anticheat_init()
-{SELFPARAM();
-       self.anticheat_speedhack_offset = 0;
-       self.anticheat_jointime = servertime;
+void anticheat_init(entity this)
+{
+       this.anticheat_speedhack_offset = 0;
+       this.anticheat_jointime = servertime;
 }
 
 void anticheat_shutdown()