[ZoneBuilder] Workaround for colmaps

This commit is contained in:
momo5502 2016-12-24 21:38:42 +01:00
parent b61b8e8f8d
commit 15bf3fb0e0

View File

@ -418,6 +418,12 @@ namespace Game
XAssetType type = static_cast<XAssetType>(i);
if (!_stricmp(DB_GetXAssetTypeName(type), name))
{
// Col map workaround!
if (type == Game::XAssetType::ASSET_TYPE_COL_MAP_SP)
{
return Game::XAssetType::ASSET_TYPE_COL_MAP_MP;
}
return type;
}
}