mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Complete all stuff commands when getting server info/data.
When the stufftext buffering was implemented, we forgot about svc_serverdata... While nq might normally not have the issue, I thought it best to implement in nq, too.
This commit is contained in:
parent
28d16b6f57
commit
fd78d900e9
2 changed files with 11 additions and 2 deletions
|
@ -982,10 +982,15 @@ CL_ParseServerMessage (void)
|
|||
MSG_ReadAngleV (net_message, dest);
|
||||
break;
|
||||
}
|
||||
|
||||
case svc_serverinfo:
|
||||
// make sure any stuffed commands are done
|
||||
if (stuffbuf && stuffbuf->str[0]) {
|
||||
Cbuf_AddText (host_cbuf, stuffbuf->str);
|
||||
dstring_clearstr (stuffbuf);
|
||||
}
|
||||
Cbuf_Execute_Stack (host_cbuf);
|
||||
CL_ParseServerInfo ();
|
||||
// leave intermission full screen
|
||||
// leave full screen intermission
|
||||
r_data->vid->recalc_refdef = true;
|
||||
break;
|
||||
|
||||
|
|
|
@ -1431,6 +1431,10 @@ CL_ParseServerMessage (void)
|
|||
}
|
||||
case svc_serverdata:
|
||||
// make sure any stuffed commands are done
|
||||
if (stuffbuf && stuffbuf->str[0]) {
|
||||
Cbuf_AddText (cl_stbuf, stuffbuf->str);
|
||||
dstring_clearstr (stuffbuf);
|
||||
}
|
||||
Cbuf_Execute_Stack (cl_stbuf);
|
||||
CL_ParseServerData ();
|
||||
// leave full screen intermission
|
||||
|
|
Loading…
Reference in a new issue