From e63b9591aebb00af419b65de86a22b525c53b34a Mon Sep 17 00:00:00 2001 From: INeedBots Date: Sat, 14 Nov 2020 03:29:53 -0600 Subject: [PATCH] [Bots] Fixed wanring --- src/Components/Modules/Bots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/Modules/Bots.cpp b/src/Components/Modules/Bots.cpp index 92ee98c2..7ee2517d 100644 --- a/src/Components/Modules/Bots.cpp +++ b/src/Components/Modules/Bots.cpp @@ -82,7 +82,7 @@ namespace Components 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)