From 15bf3fb0e060efd544c98c11dac4646f3c5134a1 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 24 Dec 2016 21:38:42 +0100 Subject: [PATCH] [ZoneBuilder] Workaround for colmaps --- src/Game/Functions.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index a7c63073..47b8f97e 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -418,6 +418,12 @@ namespace Game XAssetType type = static_cast(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; } }