X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fnavigation.qc;fp=qcsrc%2Fserver%2Fbot%2Fnavigation.qc;h=43755799871e3ac5313fa3848160968252355bc0;hb=9f1091e432a2db424bfad2482694ee8b34edbe9c;hp=a1bfb05c0acd1802ea9e14a941dca20feaa389bc;hpb=98a80868938c5da10af562d30b970f698c39555d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/navigation.qc b/qcsrc/server/bot/navigation.qc index a1bfb05c0..437557998 100644 --- a/qcsrc/server/bot/navigation.qc +++ b/qcsrc/server/bot/navigation.qc @@ -551,7 +551,7 @@ void navigation_markroutes(entity fixed_source_waypoint) // try a short range search for the nearest waypoints, and expand the search repeatedly if none are found // as this search is expensive we will use lower values if the bot is on the air float i, increment, maxdistance; - if(self.flags & FL_ONGROUND) + if(IS_ONGROUND(self)) { increment = 750; maxdistance = 50000;