diff --git a/nq/source/cl_ents.c b/nq/source/cl_ents.c index 56e485810..000049b35 100644 --- a/nq/source/cl_ents.c +++ b/nq/source/cl_ents.c @@ -608,8 +608,8 @@ CL_RelinkEntities (void) ent->skinnum = new->skinnum; if (i <= cl.maxclients) { ent->skin = mod_funcs->Skin_SetColormap (ent->skin, i); - mod_funcs->Skin_SetTranslation (i, cl.scores[i].topcolor, - cl.scores[i].bottomcolor); + mod_funcs->Skin_SetTranslation (i, cl.scores[i - 1].topcolor, + cl.scores[i - 1].bottomcolor); } } ent->scale = new->scale; diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index 5e66a2e52..642a71336 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -363,6 +363,8 @@ CL_ParseServerInfo (void) for (i = 0; i < cl.maxclients; i++) { cl.scores[i].info = Info_ParseString ("name\\", 0, 0); cl.scores[i].name = Info_Key (cl.scores[i].info, "name"); + cl.scores[i].topcolor = 0; + cl.scores[i].bottomcolor = 0; } // parse gametype