fix COD:OL zm maps

This commit is contained in:
m 2024-01-19 13:33:57 -06:00
parent 70f34a9319
commit a0b1ef68bf

View File

@ -317,7 +317,7 @@ namespace Components
// TODO : Remove hook entirely?
void Maps::GetBSPName(char* buffer, size_t size, const char* format, const char* mapname)
{
if (!Utils::String::StartsWith(mapname, "mp_"))
if (!Utils::String::StartsWith(mapname, "mp_") && !Utils::String::StartsWith(mapname, "zm_"))
{
format = "maps/%s.d3dbsp";
}