From 2910c874a8a032d2ba0504ca4bc48d837030268a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 28 Aug 2011 20:33:58 +0200 Subject: [PATCH] add a FIXME comment --- qcsrc/server/bot/waypoints.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/server/bot/waypoints.qc b/qcsrc/server/bot/waypoints.qc index 80e38dafc..c661b23ed 100644 --- a/qcsrc/server/bot/waypoints.qc +++ b/qcsrc/server/bot/waypoints.qc @@ -926,6 +926,8 @@ float botframe_autowaypoints_fix_from(entity p, float walkfromwp, entity wp, .en if(wp) { // if nearest WP from here is linked to wp, everything is fine + // FIXME consider ALl waypoints for this, not just the nearest! + // i.e. all waypoints w for which wp -> w -> p works w = navigation_findnearestwaypoint(p, walkfromwp); if(w && w != wp) { -- 2.39.2