restrict sv_resume loop to MAXCLIENTS
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1932 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -389,7 +389,7 @@ void parsemessages(int cn, playerent *d, ucharbuf &p)
|
||||
|
||||
case SV_RESUME:
|
||||
{
|
||||
for(;;)
|
||||
loopi(MAXCLIENTS)
|
||||
{
|
||||
int cn = getint(p);
|
||||
if(cn<0) break;
|
||||
|
||||
Reference in New Issue
Block a user