]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
random screenshots: don't be so far above ground; also, request more view distance
authorRudolf Polzer <divverent@xonotic.org>
Fri, 9 Aug 2013 12:29:51 +0000 (14:29 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 9 Aug 2013 12:30:22 +0000 (14:30 +0200)
qcsrc/server/cheats.qc

index 017999d761becfb892d56dc535ff8f2c43a9a148..c87eee433669cc01da6cd30de366ff459b0d42d7 100644 (file)
@@ -236,7 +236,7 @@ float CheatImpulse(float i)
                                        break;
                                }
                        }
-                       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) ? 100 : 100000), 1024, 256))
+                       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) ? 100 : 100000), 384, 384))
                        {
                                sprint(self, "Emergency teleport used random location\n");
                                self.angles_x = -self.angles_x;