Fix sending reliable commands before being connected, patch by Eugene C. (#4971)

This commit is contained in:
Thilo Schulz 2011-05-02 16:03:35 +00:00
parent 50721a6580
commit 86c41d39da

View file

@ -2634,7 +2634,7 @@ CL_CheckUserinfo
*/
void CL_CheckUserinfo( void ) {
// don't add reliable commands when not yet connected
if(cls.state < CA_CHALLENGING)
if(cls.state < CA_CONNECTED)
return;
// don't overflow the reliable command buffer when paused