From: Rudolf Polzer Date: Fri, 9 Aug 2013 12:29:51 +0000 (+0200) Subject: random screenshots: don't be so far above ground; also, request more view distance X-Git-Tag: xonotic-v0.8.0~370 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=461c233f755633cefcda7ba02c6cd7519cff4eee;p=xonotic%2Fxonotic-data.pk3dir.git random screenshots: don't be so far above ground; also, request more view distance --- diff --git a/qcsrc/server/cheats.qc b/qcsrc/server/cheats.qc index 017999d76..c87eee433 100644 --- a/qcsrc/server/cheats.qc +++ b/qcsrc/server/cheats.qc @@ -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;