]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also notify emergency teleport location
authorRudolf Polzer <divverent@alientrap.org>
Mon, 16 Jan 2012 15:56:34 +0000 (16:56 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 16 Jan 2012 15:56:34 +0000 (16:56 +0100)
qcsrc/server/cheats.qc

index 51cbbcec3d61515869e949599660721cdbd7417e..e7154b7f52f17617b9a79c7560aba4e551f99161 100644 (file)
@@ -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';