From 2b3d8b39e4657fbece61084b9fbaeff66b6b3c3a Mon Sep 17 00:00:00 2001 From: Eukara Date: Sun, 2 Jul 2017 18:59:27 +0000 Subject: [PATCH] Just shoving that bit in here git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5123 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_hlmdl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/gl/gl_hlmdl.c b/engine/gl/gl_hlmdl.c index 5a1f8a5aa..ed0ed92eb 100644 --- a/engine/gl/gl_hlmdl.c +++ b/engine/gl/gl_hlmdl.c @@ -1197,6 +1197,10 @@ static void R_HalfLife_WalkMeshes(entity_t *rent, batch_t *b, batch_t **batches) } } } + + if ( rent->forcedshader ) { + b->shader = rent->forcedshader; + } b->buildmeshes = R_HL_BuildMesh; b->ent = rent;