]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
adjust ring hitmask when choosing location
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 24 Jan 2022 15:51:40 +0000 (16:51 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 24 Jan 2022 15:51:40 +0000 (16:51 +0100)
qcsrc/common/gamemodes/gamemode/br/sv_ring.qc

index ef26ed82a4af9c6331689a55af2df5a3ef16f29f..6404f1d702ef5b084932082632804ed67a97e5e4 100644 (file)
@@ -44,7 +44,7 @@ entity ring_initialize()
     ring_parseStrength(this, has_invalid_timings);
 
     this.strength = this.br_ring_stage_strength[0];
-    MoveToRandomLocationWithinBounds(this, world.mins, world.maxs, DPCONTENTS_SOLID | DPCONTENTS_CORPSE | DPCONTENTS_PLAYERCLIP, DPCONTENTS_SLIME | DPCONTENTS_LAVA | DPCONTENTS_SKY | DPCONTENTS_BODY | DPCONTENTS_DONOTENTER, Q3SURFACEFLAG_SKY, 2500, 0, 0);
+    MoveToRandomLocationWithinBounds(this, world.mins, world.maxs, DPCONTENTS_SOLID, DPCONTENTS_SLIME | DPCONTENTS_LAVA | DPCONTENTS_SKY | DPCONTENTS_DONOTENTER, Q3SURFACEFLAG_SKY, 2500, 0, 0);
     ring_alignPosition(this);
     ring_link(this);