From 266906ec557f328d944b05a76df4c8c665d87c5c Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 28 Jan 2008 23:03:42 +0000 Subject: [PATCH] Fixes molgrums skin bug. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2884 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_parse.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/engine/client/cl_parse.c b/engine/client/cl_parse.c index 694352e11..1fba2bbb8 100644 --- a/engine/client/cl_parse.c +++ b/engine/client/cl_parse.c @@ -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 ();