[nexuiz-commits] r7819 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Sep 16 10:57:26 EDT 2009
Author: div0
Date: 2009-09-16 10:57:25 -0400 (Wed, 16 Sep 2009)
New Revision: 7819
Modified:
trunk/data/qcsrc/server/bots.qc
Log:
don't push the same WP twice to the route
Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc 2009-09-16 14:55:37 UTC (rev 7818)
+++ trunk/data/qcsrc/server/bots.qc 2009-09-16 14:57:25 UTC (rev 7819)
@@ -1914,6 +1914,9 @@
// see if there are waypoints describing a path to the item
if(e.classname != "waypoint" || (e.wpflags & WAYPOINTFLAG_PERSONAL))
e = e.nearestwaypoint;
+ else
+ e = e.enemy; // we already have added it, so...
+
if(e == world)
return FALSE;
More information about the nexuiz-commits
mailing list