diff --git a/qbsp/brush.cc b/qbsp/brush.cc index 91a4f0d9..c24c20d7 100644 --- a/qbsp/brush.cc +++ b/qbsp/brush.cc @@ -1111,6 +1111,11 @@ void Brush_LoadEntity(mapentity_t *dst, const mapentity_t *src, const int hullnu const bool func_illusionary_visblocker = (0 == Q_strcasecmp(classname, "func_illusionary_visblocker")); + // _omitbrushes 1 just discards all brushes in the entity. + // could be useful for geometry guides, selective compilation, etc. + if (atoi(ValueForKey(src, "_omitbrushes"))) + return; + // _omitbrushes 1 just discards all brushes in the entity. // could be useful for geometry guides, selective compilation, etc. if (atoi(ValueForKey(src, "_omitbrushes")))