mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-14 00:10:46 +00:00
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:
parent
c44fb03810
commit
266906ec55
1 changed files with 5 additions and 4 deletions
|
@ -3044,6 +3044,8 @@ void CL_ProcessUserInfo (int slot, player_info_t *player)
|
||||||
else
|
else
|
||||||
player->spectator = false;
|
player->spectator = false;
|
||||||
|
|
||||||
|
player->model = NULL;
|
||||||
|
|
||||||
// If it's us
|
// If it's us
|
||||||
if (slot == cl.playernum[0] && player->name[0])
|
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
|
// Update the rules since spectators can bypass everything but players can't
|
||||||
CL_CheckServerInfo();
|
CL_CheckServerInfo();
|
||||||
|
|
||||||
|
Skin_FlushPlayers();
|
||||||
}
|
}
|
||||||
|
else if (cls.state == ca_active)
|
||||||
player->model = NULL;
|
|
||||||
|
|
||||||
if (cls.state == ca_active)
|
|
||||||
Skin_Find (player);
|
Skin_Find (player);
|
||||||
|
|
||||||
Sbar_Changed ();
|
Sbar_Changed ();
|
||||||
|
|
Loading…
Reference in a new issue