From: Rudolf Polzer Date: Fri, 9 Dec 2011 16:17:31 +0000 (+0100) Subject: no, we do NOT want to ignore caulk X-Git-Tag: xonotic-v0.6.0~44 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=b104009ba6cc6b24202a686ca53a3be5264833bf no, we do NOT want to ignore caulk --- diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index 2ef1ad77..bf5bc36c 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -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 ) diff --git a/tools/quake3/q3map2/main.c b/tools/quake3/q3map2/main.c index a1450487..b8c469db 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -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