[Zones] Fix vehicles for codol zones

This commit is contained in:
momo5502 2016-11-12 22:58:18 +01:00
parent 575607891d
commit 38ee6780c5
2 changed files with 5 additions and 6 deletions

View File

@ -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)
{

View File

@ -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()