Skip to content

Commit f7cafd7

Browse files
committed
fix: bsp parser on cs_office
see ReactiioN1337/valve-bsp-parser#18
1 parent bfd386f commit f7cafd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ImGuiExternal/Source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void Draw() {
140140
}
141141

142142
bool is_visible = true;
143-
if (parsed_map && std::string(map_name) != "cs_office.bsp")
143+
if (parsed_map)
144144
is_visible = _bsp_parser.is_visible(vector3{pos.x, pos.y, pos.z + 66}, vector3{absOrigin.x, absOrigin.y, absOrigin.z + 66});
145145

146146
//getting name

0 commit comments

Comments
 (0)