From d590a482aafcd02836e8d8011584f917819e5e01 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 9 Dec 2011 17:17:31 +0100 Subject: [PATCH] no, we do NOT want to ignore caulk --- tools/quake3/q3map2/light_ydnar.c | 2 ++ tools/quake3/q3map2/main.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/quake3/q3map2/light_ydnar.c b/tools/quake3/q3map2/light_ydnar.c index d2d0f9da..6c5a82e4 100644 --- a/tools/quake3/q3map2/light_ydnar.c +++ b/tools/quake3/q3map2/light_ydnar.c @@ -2824,6 +2824,8 @@ void SetupBrushesFlags( unsigned int mask_any, unsigned int test_any, unsigned i compileFlags |= 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 6b85c3d2..d0076999 100644 --- a/tools/quake3/q3map2/main.c +++ b/tools/quake3/q3map2/main.c @@ -389,7 +389,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