fix while dead players

This commit is contained in:
Bill Currie 2001-01-20 10:28:32 +00:00
parent 7c1c47b573
commit 9146c88760

View file

@ -547,6 +547,7 @@ CL_LinkPacketEntities (void)
// set colormap
if (s1->colormap && (s1->colormap < MAX_CLIENTS)
&& cl.players[s1->colormap - 1].name[0]
&& !strcmp ((*ent)->model->name, "progs/player.mdl")) {
(*ent)->colormap = cl.players[s1->colormap - 1].translations;
(*ent)->scoreboard = &cl.players[s1->colormap - 1];