diff --git a/code/botlib/be_ai_weap.c b/code/botlib/be_ai_weap.c index def1f83c..8fab4d79 100644 --- a/code/botlib/be_ai_weap.c +++ b/code/botlib/be_ai_weap.c @@ -440,12 +440,6 @@ int BotChooseBestFightWeapon(int weaponstate, int *inventory) //=========================================================================== void BotResetWeaponState(int weaponstate) { - struct weightconfig_s *weaponweightconfig; - int *weaponweightindex; - bot_weaponstate_t *ws; - - ws = BotWeaponStateFromHandle(weaponstate); - if (!ws) return; } //end of the function BotResetWeaponState //======================================================================== //