git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9461
d7cf8633-e32d-0410-b094-
e92efae38249
e->render.flags |= t->render.flags & (RENDER_EXTERIORMODEL | RENDER_VIEWMODEL);
// if a valid tagindex is used, make it relative to that tag instead
// FIXME: use a model function to get tag info (need to handle skeletal)
- if (e->state_current.tagentity && e->state_current.tagindex >= 1 && e->render.model)
+ if (e->state_current.tagentity && e->state_current.tagindex >= 1 && t->render.model)
{
if(!CL_BlendTagMatrix(&t->render, e->state_current.tagindex - 1, &blendmatrix)) // i.e. no error
{