From: Mircea Kitsune Date: Sun, 3 Oct 2010 11:24:00 +0000 (+0300) Subject: Bot clips should block waypoints too X-Git-Tag: xonotic-v0.1.0preview~282^2~7 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9b1cb8d77fb95589ce2a39123faa7b39f1c8057c;p=xonotic%2Fxonotic-data.pk3dir.git Bot clips should block waypoints too --- diff --git a/qcsrc/server/bot/waypoints.qc b/qcsrc/server/bot/waypoints.qc index 3cbec8761..4f3640e26 100644 --- a/qcsrc/server/bot/waypoints.qc +++ b/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);