From: Rudolf Polzer Date: Mon, 16 Jan 2012 15:56:34 +0000 (+0100) Subject: also notify emergency teleport location X-Git-Tag: xonotic-v0.6.0~157^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ee23a8eac45dd2ce91a2a39cfd24dc49cf3f993;p=xonotic%2Fxonotic-data.pk3dir.git also notify emergency teleport location --- diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index 51cbbcec3..e7154b7f5 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -224,7 +224,7 @@ float CheatImpulse(float i) e = find(world, classname, "info_autoscreenshot"); if(e) { - sprint(self, "Emergency teleport uses info_autoscreenshot location\n"); + sprint(self, "Emergency teleport used info_autoscreenshot location\n"); setorigin(self, e.origin); self.angles = e.angles; remove(e); @@ -237,6 +237,7 @@ float CheatImpulse(float i) } if(MoveToRandomMapLocation(self, DPCONTENTS_SOLID | DPCONTENTS_CORPSE | DPCONTENTS_PLAYERCLIP, DPCONTENTS_SLIME | DPCONTENTS_LAVA | DPCONTENTS_SKY | DPCONTENTS_BODY | DPCONTENTS_DONOTENTER, Q3SURFACEFLAG_SKY, ((gamestart_sv_cheats >= 2) ? 100000 : 100), 1024, 256)) { + sprint(self, "Emergency teleport used random location\n"); self.angles_x = -self.angles_x; self.fixangle = TRUE; self.velocity = '0 0 0';