no, we do NOT want to ignore caulk

This commit is contained in:
Rudolf Polzer 2011-12-09 17:17:31 +01:00
parent 35162b6b63
commit b104009ba6
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -361,7 +361,7 @@ determines solid non-sky brushes in the world
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
// none may be sky
// not all may be nodraw