mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-21 05:15:44 +00:00
Remove assert
This commit is contained in:
parent
c230a1d916
commit
ccd8176c25
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user