From: MirceaKitsune Date: Sun, 3 Oct 2010 11:24:51 +0000 (+0300) Subject: Bot clips should block waypoints too X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cf10cb4de468202fa05650253182b913a5d031ab;p=voretournament%2Fvoretournament.git Bot clips should block waypoints too --- diff --git a/data/qcsrc/server/bot/waypoints.qc b/data/qcsrc/server/bot/waypoints.qc index e9f7955a..a7622379 100644 --- a/data/qcsrc/server/bot/waypoints.qc +++ b/data/qcsrc/server/bot/waypoints.qc @@ -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);