fix a case where the userinfo is 0 that I was not expecting. This fixes the

crash on reconnect
This commit is contained in:
Bill Currie 2001-11-10 22:55:10 +00:00
parent e4fd746f71
commit e435414b4b

View file

@ -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