diff --git a/src/Components/Modules/Bots.cpp b/src/Components/Modules/Bots.cpp index f74b0923..61da6e45 100644 --- a/src/Components/Modules/Bots.cpp +++ b/src/Components/Modules/Bots.cpp @@ -71,11 +71,6 @@ namespace Components { "9", 33554432 }, }; - bool Bots::IsValidClientNum(unsigned int cNum) - { - return (cNum >= 0) && (cNum < (unsigned int)*Game::svs_numclients); - } - void Bots::BuildConnectString(char* buffer, const char* connectString, int num, int, int protocol, int checksum, int statVer, int statStuff, int port) { static int botId = 0; diff --git a/src/Components/Modules/Bots.hpp b/src/Components/Modules/Bots.hpp index 83514f0f..fcf2c9df 100644 --- a/src/Components/Modules/Bots.hpp +++ b/src/Components/Modules/Bots.hpp @@ -7,7 +7,6 @@ namespace Components public: Bots(); ~Bots(); - static bool IsValidClientNum(unsigned int); private: static std::vector BotNames;