[ZoneBuilder] Remove unncessary restriction
This commit is contained in:
parent
79d8fa4514
commit
4449f76061
@ -768,7 +768,7 @@ namespace Components
|
||||
Utils::Hook::Set<DWORD>(0x64A029, 0x38400000); // 900 MiB
|
||||
Utils::Hook::Set<DWORD>(0x64A057, 0x38400000);
|
||||
|
||||
AssetHandler::OnLoad([](Game::XAssetType type, Game::XAssetHeader /*asset*/, std::string name, bool* restrict)
|
||||
AssetHandler::OnLoad([](Game::XAssetType type, Game::XAssetHeader /*asset*/, std::string name, bool* /*restrict*/)
|
||||
{
|
||||
// This is used to track which assets can be stored as empty assets
|
||||
if (FastFiles::Current() == "common_mp")
|
||||
@ -780,11 +780,6 @@ namespace Components
|
||||
{
|
||||
ZoneBuilder::TraceAssets.push_back({ type, name });
|
||||
}
|
||||
|
||||
if(FastFiles::Current() == "iw4_credits"s && type == Game::XAssetType::ASSET_TYPE_COMWORLD)
|
||||
{
|
||||
*restrict = true;
|
||||
}
|
||||
});
|
||||
|
||||
Command::Add("verifyzone", [](Command::Params* params)
|
||||
|
Loading…
Reference in New Issue
Block a user