From b104009ba6cc6b24202a686ca53a3be5264833bf 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 2ef1ad7..bf5bc36 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 a145048..b8c469d 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 -- 2.39.2