diff --git a/src/Components/Modules/AssetHandler.cpp b/src/Components/Modules/AssetHandler.cpp index afc94802..ceb53a2e 100644 --- a/src/Components/Modules/AssetHandler.cpp +++ b/src/Components/Modules/AssetHandler.cpp @@ -137,6 +137,14 @@ namespace Components asset->material->sortKey = 0xE; } +#ifdef DEBUG + // This is bad! We still want to see red-fxs in release mode + if (type == Game::XAssetType::ASSET_TYPE_XMODEL && name == "void"s) + { + asset->model->numLods = 0; + } +#endif + if (Flags::HasFlag("entries")) { OutputDebugStringA(Utils::String::VA("%s: %d: %s\n", FastFiles::Current().data(), type, name)); diff --git a/src/Components/Modules/Maps.cpp b/src/Components/Modules/Maps.cpp index afa9a94d..e8afa978 100644 --- a/src/Components/Modules/Maps.cpp +++ b/src/Components/Modules/Maps.cpp @@ -128,7 +128,8 @@ namespace Components //Maps::OverrideMapEnts(asset.mapEnts); } - if (type == Game::XAssetType::ASSET_TYPE_MENU && Zones::Version() >= 359) + // This is broken + if ((type == Game::XAssetType::ASSET_TYPE_MENU || type == Game::XAssetType::ASSET_TYPE_MENUFILE) && Zones::Version() >= 359) { *restrict = true; return;