X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fhavocbot%2Frole_ctf.qc;h=cf6b6f7372a20f3c1ce59dc6eb486539c5bc5be7;hp=201e6982a0ac892ec5215e2eca52e50566cf0aaf;hb=7ec398db61b56e3c74bf0dbef1f6740a81cc7ced;hpb=5eefde1548c4dfd4e8fa20145b9285cdfb970b2a diff --git a/qcsrc/server/bot/havocbot/role_ctf.qc b/qcsrc/server/bot/havocbot/role_ctf.qc index 201e6982a0..cf6b6f7372 100644 --- a/qcsrc/server/bot/havocbot/role_ctf.qc +++ b/qcsrc/server/bot/havocbot/role_ctf.qc @@ -23,7 +23,7 @@ void(float ratingscale, vector org, float sradius) havocbot_goalrating_enemyplay .float havocbot_cantfindflag; .float havocbot_role_timeout; .entity ctf_worldflagnext; -.entity basewaypoint; +.entity bot_basewaypoint; entity ctf_worldflaglist; vector havocbot_ctf_middlepoint; @@ -102,7 +102,7 @@ void havocbot_goalrating_ctf_ourbase(float ratingscale) if not(head) return; - navigation_routerating(head.basewaypoint, ratingscale, 10000); + navigation_routerating(head.bot_basewaypoint, ratingscale, 10000); }; void havocbot_goalrating_ctf_enemyflag(float ratingscale) @@ -134,7 +134,7 @@ void havocbot_goalrating_ctf_enemybase(float ratingscale) if not(head) return; - navigation_routerating(head.basewaypoint, ratingscale, 10000); + navigation_routerating(head.bot_basewaypoint, ratingscale, 10000); }; void havocbot_goalrating_ctf_ourstolenflag(float ratingscale)