no, we do NOT want to ignore caulk

This commit is contained in:
Rudolf Polzer 2011-12-09 17:17:31 +01:00 committed by Thomas Debesse
parent 3081387877
commit d590a482aa
2 changed files with 3 additions and 1 deletions

View file

@ -2824,6 +2824,8 @@ void SetupBrushesFlags( unsigned int mask_any, unsigned int test_any, unsigned i
compileFlags |= si->compileFlags; compileFlags |= si->compileFlags;
} }
Sys_FPrintf( SYS_VRB, "flags: %d (all: %d)\n", compileFlags, allCompileFlags );
/* determine if this brush is opaque to light */ /* determine if this brush is opaque to light */
if( (compileFlags & mask_any) == test_any && (allCompileFlags & mask_all) == test_all ) if( (compileFlags & mask_any) == test_any && (allCompileFlags & mask_all) == test_all )
{ {

View file

@ -389,7 +389,7 @@ determines solid non-sky brushes in the world
void MiniMapSetupBrushes( void ) void MiniMapSetupBrushes( void )
{ {
SetupBrushesFlags(C_SOLID | C_SKY, C_SOLID, C_NODRAW, 0); SetupBrushesFlags(C_SOLID | C_SKY, C_SOLID, 0, 0);
// at least one must be solid // at least one must be solid
// none may be sky // none may be sky
// not all may be nodraw // not all may be nodraw