mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
Fix a possible crash from player skin colours.
This commit is contained in:
parent
3888a64458
commit
307828a2a2
1 changed files with 4 additions and 3 deletions
|
@ -460,6 +460,7 @@ qmodel_t *Mod_LoadModel (qmodel_t *mod, qboolean crash)
|
|||
|
||||
Mod_SetExtraFlags (mod); //johnfitz. spike -- moved this to be generic, because most of the flags are anyway.
|
||||
|
||||
if (cls.state == ca_connected)
|
||||
for (i = 0; i < countof(playertextures); i++)
|
||||
if (playertextures[i] && playertextures[i]->owner == mod)
|
||||
R_TranslateNewPlayerSkin(i);
|
||||
|
|
Loading…
Reference in a new issue