From: Rudolf Polzer Date: Sun, 28 Aug 2011 18:33:58 +0000 (+0200) Subject: add a FIXME comment X-Git-Tag: xonotic-v0.6.0~188^2~4^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2910c874a8a032d2ba0504ca4bc48d837030268a;p=xonotic%2Fxonotic-data.pk3dir.git add a FIXME comment --- 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) {