Don't flood the client with packets if its not really ready to receive them yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2905 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
85570cc4f4
commit
28351eb001
1 changed files with 5 additions and 0 deletions
|
@ -468,6 +468,11 @@ qboolean CL_GetDemoMessage (void)
|
|||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
//client is loading content, don't flood it with packets while its still got no map loaded
|
||||
if (cl.sendprespawn)
|
||||
return 0;
|
||||
|
||||
readnext:
|
||||
// read the time from the packet
|
||||
if (cls.demoplayback == DPB_MVD || cls.demoplayback == DPB_EZTV)
|
||||
|
|
Loading…
Reference in a new issue