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:
Bill Currie 2001-02-04 22:47:07 +00:00
parent 59f4b7a7d0
commit 054f659078

View file

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