diff --git a/qbsp/brush.cc b/qbsp/brush.cc index 183c4422..ff0b05cb 100644 --- a/qbsp/brush.cc +++ b/qbsp/brush.cc @@ -1051,6 +1051,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")))