diff --git a/source/src/clients2c.cpp b/source/src/clients2c.cpp index 2863a4b2..1e7de1bf 100644 --- a/source/src/clients2c.cpp +++ b/source/src/clients2c.cpp @@ -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;