mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-10 14:52:08 +00:00
fix while dead players
This commit is contained in:
parent
7c1c47b573
commit
9146c88760
1 changed files with 1 additions and 0 deletions
|
@ -547,6 +547,7 @@ CL_LinkPacketEntities (void)
|
||||||
|
|
||||||
// set colormap
|
// set colormap
|
||||||
if (s1->colormap && (s1->colormap < MAX_CLIENTS)
|
if (s1->colormap && (s1->colormap < MAX_CLIENTS)
|
||||||
|
&& cl.players[s1->colormap - 1].name[0]
|
||||||
&& !strcmp ((*ent)->model->name, "progs/player.mdl")) {
|
&& !strcmp ((*ent)->model->name, "progs/player.mdl")) {
|
||||||
(*ent)->colormap = cl.players[s1->colormap - 1].translations;
|
(*ent)->colormap = cl.players[s1->colormap - 1].translations;
|
||||||
(*ent)->scoreboard = &cl.players[s1->colormap - 1];
|
(*ent)->scoreboard = &cl.players[s1->colormap - 1];
|
||||||
|
|
Loading…
Reference in a new issue