]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/havocbot/roles.qc
Use the ONGROUND macros
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / havocbot / roles.qc
index 2db5dba02259cc22d3132898cc983a58651af5f0..f49800ff9063f9aa530f321081d5b30b7c8076d3 100644 (file)
@@ -177,7 +177,7 @@ void havocbot_goalrating_enemyplayers(float ratingscale, vector org, float sradi
                        continue;
 
                // not falling
-               if((it.flags & FL_ONGROUND) == 0)
+               if((IS_ONGROUND(it)) == 0)
                {
                        traceline(it.origin, it.origin + '0 0 -1500', true, world);
                        t = pointcontents(trace_endpos + '0 0 1');