From: jal Date: Wed, 21 Apr 2010 17:11:50 +0000 (+0200) Subject: Allow transparent surfaces on misc_models to be made solid when clipmodel bitflag... X-Git-Tag: xonotic-v0.5.0~262^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d5283a96920d3b651413518fe85269e21d35f994;p=xonotic%2Fnetradiant.git Allow transparent surfaces on misc_models to be made solid when clipmodel bitflag is enabled. --- diff --git a/tools/quake3/q3map2/model.c b/tools/quake3/q3map2/model.c index 083e795f..2e391379 100644 --- a/tools/quake3/q3map2/model.c +++ b/tools/quake3/q3map2/model.c @@ -429,8 +429,7 @@ void InsertModel( char *name, int frame, m4x4_t transform, remap_t *remap, shade /* temp hack */ - if( !si->clipModel && - ((si->compileFlags & C_TRANSLUCENT) || !(si->compileFlags & C_SOLID)) ) + if( !si->clipModel && !(si->compileFlags & C_SOLID) ) continue; /* walk triangle list */