mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
- make CL_ParseServerMessage's loop break if we disconnected while it
was running
This commit is contained in:
parent
7910fe026b
commit
b8eb324ded
1 changed files with 3 additions and 0 deletions
|
@ -1188,6 +1188,9 @@ CL_ParseServerMessage (void)
|
|||
|
||||
// parse the message
|
||||
while (1) {
|
||||
if (cls.state == ca_disconnected)
|
||||
break; // something called Host_NetError
|
||||
|
||||
if (net_message->badread) {
|
||||
Host_NetError ("CL_ParseServerMessage: Bad server message");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue