From e9f0d9465730c8180f8d2c1caf29909dde150e47 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 30 May 2005 06:42:41 +0000 Subject: [PATCH] ignore RENDER_VIEWMODEL if tagentity is set git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5355 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 00401515..dfca0cf7 100644 --- a/cl_main.c +++ b/cl_main.c @@ -587,7 +587,7 @@ void CL_LinkNetworkEntity(entity_t *e) e->render.colormap = -1; // no special coloring e->render.skinnum = e->state_current.skin; VectorScale(e->state_current.colormod, (1.0f / 32.0f), e->render.colormod); - if (e->render.flags & RENDER_VIEWMODEL) + if (e->render.flags & RENDER_VIEWMODEL && !e->state_current.tagentity) { if (!r_drawviewmodel.integer || chase_active.integer || envmap) return; -- 2.39.2