From c379aae1d41fde809019c5c97c95ddd038967ae7 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 12 May 2009 08:42:51 +0000 Subject: [PATCH] merge content and compile flags of all surfaces of a brush (experimental; fixes issues with not working detail brushes; please check for regressions) git-svn-id: svn://svn.icculus.org/netradiant/trunk@364 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/map.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/quake3/q3map2/map.c b/tools/quake3/q3map2/map.c index 0173d83..b9862c5 100644 --- a/tools/quake3/q3map2/map.c +++ b/tools/quake3/q3map2/map.c @@ -345,6 +345,9 @@ void SetBrushContents( brush_t *b ) continue; if( s->contentFlags != contentFlags || s->compileFlags != compileFlags ) mixed = qtrue; + + contentFlags |= s->contentFlags; + compileFlags |= s->compileFlags; } /* ydnar: getting rid of this stupid warning */ -- 2.39.2