]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Bot clips should block waypoints too
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 11:24:51 +0000 (14:24 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sun, 3 Oct 2010 11:24:51 +0000 (14:24 +0300)
data/qcsrc/server/bot/waypoints.qc

index e9f7955a12b569ac3e6a9efa756e2b110d6936f8..a7622379c544629d5fd580853a1f8beb353d5b4b 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);