Skip to content

Commit

Permalink
make sure world brush entities are in BSPX wrbrushes
Browse files Browse the repository at this point in the history
  • Loading branch information
Paril committed Jun 20, 2023
1 parent 15f0f97 commit 2b22e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qbsp/qbsp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,7 @@ static void BSPX_CreateBrushList(void)
mapentity_t &ent = map.entities.at(entnum);
size_t modelnum;

if (map.is_world_entity(ent)) {
if (map.is_world_entity(ent) || IsWorldBrushEntity(ent)) {
modelnum = 0;
} else {
const std::string &mod = ent.epairs.get("model");
Expand Down

0 comments on commit 2b22e35

Please sign in to comment.