X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fhavocbot%2Fhavocbot.qh;h=2f987f674ec8719503137e05452abe5e7701fd1e;hp=4a391b6e7ceb9682a2df64023aa98751e88974d1;hb=5aab6120acfc624751d20a695d1b911b3e919831;hpb=b7d363a108963ca13647ee25b58c5a531366cf49 diff --git a/qcsrc/server/bot/default/havocbot/havocbot.qh b/qcsrc/server/bot/default/havocbot/havocbot.qh index 4a391b6e7c..2f987f674e 100644 --- a/qcsrc/server/bot/default/havocbot/havocbot.qh +++ b/qcsrc/server/bot/default/havocbot/havocbot.qh @@ -5,7 +5,7 @@ */ .float havocbot_keyboardskill; -.float facingwalltime, ignoregoaltime; +.float ignoregoaltime; .float lastfiredweapon; .float lastcombotime; .float havocbot_blockhead; @@ -23,6 +23,7 @@ .float havocbot_stickenemy; .float havocbot_role_timeout; +.float bot_tracewalk_time; .entity ignoregoal; .entity bot_lastseengoal; .entity havocbot_personal_waypoint; @@ -39,7 +40,7 @@ void havocbot_setupbot(entity this); void havocbot_movetogoal(entity this); void havocbot_chooserole(entity this); void havocbot_chooseenemy(entity this); -void havocbot_chooseweapon(entity this); +void havocbot_chooseweapon(entity this, .entity weaponentity); void havocbot_bunnyhop(entity this, vector dir); void havocbot_keyboard_movement(entity this, vector destorg);