get rid of wrong dbg_assert

This commit is contained in:
Ryozuki 2017-06-12 17:49:01 +02:00
parent 9c5ade24da
commit 5f23a68caf

View file

@ -1125,8 +1125,6 @@ void CGameContext::ConSpecTeam(IConsole::IResult *pResult, void *pUserData)
bool CheckClientID(int ClientID)
{
dbg_assert(ClientID >= 0 || ClientID < MAX_CLIENTS,
"The Client ID is wrong");
if (ClientID < 0 || ClientID >= MAX_CLIENTS)
return false;
return true;