mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-09-01 13:57:31 +00:00
Remove assert
This commit is contained in:
@@ -4,8 +4,6 @@ namespace game
|
|||||||
{
|
{
|
||||||
void SV_GameDropClient(int clientNum, const char* reason)
|
void SV_GameDropClient(int clientNum, const char* reason)
|
||||||
{
|
{
|
||||||
assert(sv_maxclients->current.integer >= 1 && sv_maxclients->current.integer <= 18);
|
|
||||||
|
|
||||||
if (clientNum >= 0 && clientNum < sv_maxclients->current.integer)
|
if (clientNum >= 0 && clientNum < sv_maxclients->current.integer)
|
||||||
{
|
{
|
||||||
SV_DropClient(&svs_clients[clientNum], reason, true);
|
SV_DropClient(&svs_clients[clientNum], reason, true);
|
||||||
|
Reference in New Issue
Block a user