[Zones] Fix vehicles for codol zones
This commit is contained in:
parent
575607891d
commit
38ee6780c5
@ -122,6 +122,11 @@ namespace Components
|
||||
asset.material->sortKey = 0xE;
|
||||
}
|
||||
|
||||
if (type == Game::XAssetType::ASSET_TYPE_VEHICLE && Zones::Version() >= VERSION_ALPHA2)
|
||||
{
|
||||
asset.vehicle->weaponDef = nullptr;
|
||||
}
|
||||
|
||||
// Fix shader const stuff
|
||||
if (type == Game::XAssetType::ASSET_TYPE_TECHSET && Zones::Version() >= 359)
|
||||
{
|
||||
|
@ -152,12 +152,6 @@ namespace Components
|
||||
*restrict = true;
|
||||
return;
|
||||
}
|
||||
|
||||
if (type == Game::XAssetType::ASSET_TYPE_VEHICLE && Zones::Version() >= VERSION_ALPHA2)
|
||||
{
|
||||
*restrict = true;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Game::GameMap_Data* Maps::GetWorldData()
|
||||
|
Loading…
Reference in New Issue
Block a user