mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 12:11:34 +00:00
this SHOULD take care of skin crashes on a permanent basis. The problem in
beta6 was caused by the player skin being set to 0 when it shouldn't be on any userinfo change, and thus even changing rate would cause the client to seg. Now, the player skin gets set to 0 only when the skin changes, and while there still seems to be an opening for a segfault (which this patch closes), I still couldn't get the client to seg with recent code.
This commit is contained in:
parent
59f4b7a7d0
commit
054f659078
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ Skin_NextDownload (void)
|
|||
sc = &cl.players[i];
|
||||
if (!sc->name[0])
|
||||
continue;
|
||||
Skin_Find (sc);
|
||||
Skin_Cache (sc->skin);
|
||||
sc->skin = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue