X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fcheats.qc;h=5bd3b49a3ab8021b2d305912f8f662ae78adb990;hb=d91906e1bb6225cd68269812a6d2b4314e23fcdb;hp=53c1853a7faeeb056123eab23d3f3ab13f5812ca;hpb=1532af143411264782fd7646d151df486e2b16aa;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index 53c1853a7..5bd3b49a3 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -50,7 +50,7 @@ float CheatsAllowed(float i, float argc, float fr) // the cheat gets passed as a return 0; if(gamestart_sv_cheats < 2 && !IS_PLAYER(self)) return 0; - + // sv_clones if(i == CHIMPULSE_CLONE_MOVING || i == CHIMPULSE_CLONE_STANDING) if(self.lip < sv_clones) @@ -59,7 +59,7 @@ float CheatsAllowed(float i, float argc, float fr) // the cheat gets passed as a // haha if(self.maycheat) return 1; - + // sv_cheats if(gamestart_sv_cheats && autocvar_sv_cheats) return 1; @@ -190,7 +190,7 @@ float CheatImpulse(float i) self.oldvelocity = self.velocity = self.personal.velocity; self.angles = self.personal.v_angle; self.fixangle = TRUE; - + MUTATOR_CALLHOOK(AbortSpeedrun); }