Browse Source

Set skin before setting initial entity model. Fixes wrong skin on some objects that don't receive a later skin update message.

console
Nico de Poel 5 years ago
parent
commit
cd03b692fd
  1. 3
      engine/Quake/cl_parse.c

3
engine/Quake/cl_parse.c

@ -630,8 +630,11 @@ void CL_ParseUpdate (int bits)
ent->lerpflags |= LERP_RESETANIM; //johnfitz -- don't lerp animation across model changes
if (num != cl.viewentity)
{
UQ_Game_SetEntitySkin(num, skin);
UQ_Game_SetEntityModel(num, model ? model->name : NULL);
}
}
//johnfitz
if ( forcelink )

Loading…
Cancel
Save