From 053a29ffc14027c56c3ed9b7035428dc2bca0467 Mon Sep 17 00:00:00 2001 From: terencehill Date: Thu, 2 Aug 2018 15:07:44 +0200 Subject: [PATCH] Bot waypoints: reduce distance to snap a waypoint to an item --- qcsrc/server/bot/default/waypoints.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index 674ab634a..4c7cb350d 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -260,7 +260,7 @@ void waypoint_spawn_fromeditor(entity pl) { vector item_org = (it.absmin + it.absmax) * 0.5; item_org.z = it.absmin.z - PL_MIN_CONST.z; - if(vlen(item_org - org) < 30) + if (vlen(item_org - org) < 20) { org = item_org; break; -- 2.39.2