Merge branch 'ericwa:master' into type-cleanup

This commit is contained in:
Jonathan 2021-10-19 16:39:38 -04:00 committed by GitHub
commit c11ad63358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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")))