[Bots] Fixed wanring
This commit is contained in:
parent
4c3ca3ca5c
commit
e63b9591ae
@ -82,7 +82,7 @@ namespace Components
|
|||||||
|
|
||||||
bool Bots::IsValidClientNum(unsigned int cNum)
|
bool Bots::IsValidClientNum(unsigned int cNum)
|
||||||
{
|
{
|
||||||
return (cNum >= 0) && (cNum < *Game::svs_numclients);
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user