]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Bot clips should block waypoints too
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 11:24:00 +0000 (14:24 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 11:24:00 +0000 (14:24 +0300)
qcsrc/server/bot/waypoints.qc

index 3cbec876133800b150f002fbc6b6ca7f5fb7dcd6..4f3640e26eac35786e17dea56cdb15bdef6c97c7 100644 (file)
@@ -16,7 +16,7 @@ entity waypoint_spawn(vector m1, vector m2, float f)
        }
 
        w = spawn();
-       w.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP;
+       w.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP;
        w.classname = "waypoint";
        w.wpflags = f;
        setorigin(w, (m1 + m2) * 0.5);