]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
attachments now inherit RENDER_VIEWMODEL from their parent (they already inherited...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 08:58:29 +0000 (08:58 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 6 May 2005 08:58:29 +0000 (08:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5232 d7cf8633-e32d-0410-b094-e92efae38249

cl_main.c

index e8760d27a2ed752b7d9ac1e076da9d8bddc06320..adeeedb318ef89aaf91f1a71a3ccb87cf7bb51ad 100644 (file)
--- 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))