From 9801521557cb3a917792fa9f94bd5d2a25e91315 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 6 May 2005 08:58:29 +0000 Subject: [PATCH] attachments now inherit RENDER_VIEWMODEL from their parent (they already inherited RENDER_EXTERIORMODEL) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5232 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cl_main.c b/cl_main.c index e8760d27..adeeedb3 100644 --- a/cl_main.c +++ b/cl_main.c @@ -614,7 +614,7 @@ void CL_LinkNetworkEntity(entity_t *e) // make relative to the entity matrix = &t->render.matrix; // some properties of the tag entity carry over - e->render.flags |= t->render.flags & RENDER_EXTERIORMODEL; + 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 && (model = t->render.model)) -- 2.39.2