]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a FIXME comment
authorRudolf Polzer <divverent@xonotic.org>
Sun, 28 Aug 2011 18:33:58 +0000 (20:33 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sun, 28 Aug 2011 18:33:58 +0000 (20:33 +0200)
qcsrc/server/bot/waypoints.qc

index 80e38dafc0619eda3c1e856d3dfef5a958a9f957..c661b23ed0f6d33374f5bc87a0aedbc3a9684bcc 100644 (file)
@@ -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)
                {