forked from rosebudai/OpenRCT2-Web
Allow multiple asset pack overrides
This commit is contained in:
1 parent
b264a73247
commit
b2d5e356ab
2 files changed
+2
-2
No files matched your search
@@ -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