Remove unused function

This commit is contained in:
FutureRave 2022-01-20 18:21:37 +00:00
parent 5c34e55552
commit 6687d73f20
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955
2 changed files with 0 additions and 6 deletions

View File

@ -71,11 +71,6 @@ namespace Components
{ "9", 33554432 }, { "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) 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; static int botId = 0;

View File

@ -7,7 +7,6 @@ namespace Components
public: public:
Bots(); Bots();
~Bots(); ~Bots();
static bool IsValidClientNum(unsigned int);
private: private:
static std::vector<std::string> BotNames; static std::vector<std::string> BotNames;