From 81a4b542056f2e89611b677ef701c3694d63d75f Mon Sep 17 00:00:00 2001 From: jeefo Date: Sun, 11 Sep 2016 23:43:25 +0300 Subject: [PATCH] removed debug messages --- source/basecode.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) 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