mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
get rid of wrong dbg_assert
This commit is contained in:
parent
9c5ade24da
commit
5f23a68caf
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue