mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Allow multiple asset pack overrides
This commit is contained in:
@@ -107,7 +107,7 @@ void AssetPackManager::LoadSamplesForObject(std::string_view id, AudioSampleTabl
|
||||
{
|
||||
if (assetPack->IsEnabled() && assetPack->ContainsObject(id))
|
||||
{
|
||||
return assetPack->LoadSamplesForObject(id, objectTable);
|
||||
assetPack->LoadSamplesForObject(id, objectTable);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,7 @@ using namespace OpenRCT2::Audio;
|
||||
|
||||
void AudioObject::Load()
|
||||
{
|
||||
// Start with base images
|
||||
// Start with base samples
|
||||
_loadedSampleTable.LoadFrom(_sampleTable, 0, _sampleTable.GetCount());
|
||||
|
||||
// Override samples from asset packs
|
||||
|
||||
Reference in New Issue
Block a user