From: mand1nga Date: Fri, 19 Aug 2011 01:46:47 +0000 (-0300) Subject: Add extra check for reached goals when running X-Git-Tag: xonotic-v0.5.0~36^2~8 X-Git-Url: http://de.git.xonotic.org/?a=commitdiff_plain;h=d8a0b1294d8447ec398f628d96e180bd0209c174;p=xonotic%2Fxonotic-data.pk3dir.git Add extra check for reached goals when running --- diff --git a/qcsrc/server/bot/navigation.qc b/qcsrc/server/bot/navigation.qc index 87ff3d532..2c80aca61 100644 --- a/qcsrc/server/bot/navigation.qc +++ b/qcsrc/server/bot/navigation.qc @@ -914,6 +914,7 @@ void navigation_poptouchedgoals() // Loose goal touching check when running if(self.aistatus & AI_STATUS_RUNNING) + if(self.speed >= autocvar_sv_maxspeed) // if -really- running if(self.goalcurrent.classname=="waypoint") { if(vlen(self.origin - self.goalcurrent.origin)<150)