]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix typo
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 9 Nov 2009 08:34:31 +0000 (08:34 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 9 Nov 2009 08:34:31 +0000 (08:34 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9461 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index 8d3468ea2f1842c936b14132ba3567c21b4a2860..189eddadfac9f410d69d358ac73dfdd44f723568 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -919,7 +919,7 @@ void CL_UpdateNetworkEntity(entity_t *e, int recursionlimit, qboolean interpolat
                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
                        {