From: terencehill Date: Sun, 11 Nov 2018 18:17:28 +0000 (+0100) Subject: Bot AI: fix slightly broken bot movement while targeting an enemy X-Git-Tag: xonotic-v0.8.5~1718 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=fca4359c283be355fd72b88eb36a1441d21129bb;p=xonotic%2Fxonotic-data.pk3dir.git Bot AI: fix slightly broken bot movement while targeting an enemy --- diff --git a/qcsrc/server/bot/default/havocbot/havocbot.qc b/qcsrc/server/bot/default/havocbot/havocbot.qc index 17a7c29ef..969f29169 100644 --- a/qcsrc/server/bot/default/havocbot/havocbot.qc +++ b/qcsrc/server/bot/default/havocbot/havocbot.qc @@ -1197,6 +1197,7 @@ void havocbot_movetogoal(entity this) dir = normalize(dir + dodge); } + makevectors(this.v_angle); //dir = this.bot_dodgevector; //if (this.bot_dodgevector_jumpbutton) // PHYS_INPUT_BUTTON_JUMP(this) = true;