diff --git a/source/basecode.cpp b/source/basecode.cpp index db8dceb..ea91e75 100644 --- a/source/basecode.cpp +++ b/source/basecode.cpp @@ -1588,18 +1588,6 @@ void Bot::PurchaseWeapons (void) else chosenWeapon = choices[foundWeapons - 1]; - char select_wpns[2222] = { 0, }; - for (int j = 0; j < foundWeapons; j++) - { - strcat (select_wpns, g_weaponSelect[choices[j]].weaponName); - strcat (select_wpns, " "); - } - - char buf[3333] = { 0, }; - sprintf (buf, "got choice from %sand choosen %s", select_wpns, g_weaponSelect[chosenWeapon].weaponName); - - engine.Printf ("%s -> (primary) %s", STRING (pev->netname), buf); - selectedWeapon = &g_weaponSelect[chosenWeapon]; } else @@ -1688,19 +1676,6 @@ void Bot::PurchaseWeapons (void) else chosenWeapon = choices[foundWeapons - 1]; - char select_wpns[2222] = { 0, }; - for (int j = 0; j < foundWeapons; j++) - { - strcat (select_wpns, g_weaponSelect[choices[j]].weaponName); - strcat (select_wpns, " "); - } - - char buf[3333] = { 0, }; - sprintf (buf, "got choice from %sand choosen %s", select_wpns, g_weaponSelect[chosenWeapon].weaponName); - - engine.Printf ("%s -> (sec) %s", STRING (pev->netname), buf); - - selectedWeapon = &g_weaponSelect[chosenWeapon]; } else