mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
fix a case where the userinfo is 0 that I was not expecting. This fixes the
crash on reconnect
This commit is contained in:
parent
e4fd746f71
commit
e435414b4b
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ SV_DropClient (client_t *drop)
|
|||
SVfloat (drop->edict, frags) = 0;
|
||||
drop->name[0] = 0;
|
||||
|
||||
Info_Destroy (drop->userinfo);
|
||||
if (drop->userinfo)
|
||||
Info_Destroy (drop->userinfo);
|
||||
drop->userinfo = 0;
|
||||
|
||||
// send notification to all remaining clients
|
||||
|
|
Loading…
Reference in a new issue