fix: bsp parser on cs_office
see https://github.com/ReactiioN1337/valve-bsp-parser/pull/18
This commit is contained in:
@@ -140,7 +140,7 @@ void Draw() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool is_visible = true;
|
bool is_visible = true;
|
||||||
if (parsed_map && std::string(map_name) != "cs_office.bsp")
|
if (parsed_map)
|
||||||
is_visible = _bsp_parser.is_visible(vector3{pos.x, pos.y, pos.z + 66}, vector3{absOrigin.x, absOrigin.y, absOrigin.z + 66});
|
is_visible = _bsp_parser.is_visible(vector3{pos.x, pos.y, pos.z + 66}, vector3{absOrigin.x, absOrigin.y, absOrigin.z + 66});
|
||||||
|
|
||||||
//getting name
|
//getting name
|
||||||
|
|||||||
Reference in New Issue
Block a user