Fixes molgrums skin bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2884 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-01-28 23:03:42 +00:00
parent c44fb03810
commit 266906ec55
1 changed files with 5 additions and 4 deletions

View File

@ -3044,6 +3044,8 @@ void CL_ProcessUserInfo (int slot, player_info_t *player)
else
player->spectator = false;
player->model = NULL;
// If it's us
if (slot == cl.playernum[0] && player->name[0])
{
@ -3051,11 +3053,10 @@ void CL_ProcessUserInfo (int slot, player_info_t *player)
// Update the rules since spectators can bypass everything but players can't
CL_CheckServerInfo();
Skin_FlushPlayers();
}
player->model = NULL;
if (cls.state == ca_active)
else if (cls.state == ca_active)
Skin_Find (player);
Sbar_Changed ();