Remove red fx in debug mode and load training maps
This commit is contained in:
parent
5c648250b6
commit
76b9d5a475
@ -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));
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user