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:
driAn
2008-05-11 10:47:37 +00:00
parent 415dde804f
commit b7db71b50e
+1 -1
View File
@@ -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;