Add new audio objects for loading sounds

This commit is contained in:
Ted John committed 2022-05-23 22:24:56 +01:00
1 parent 697fa7c436
commit a2e6691ac2
46 files changed
+1583 -1152

No files matched your search

+1 -1
View File
@@ -620,7 +620,7 @@ std::unique_ptr<TrackDesign> TrackDesignImport(const utf8* path)
static void TrackDesignLoadSceneryObjects(TrackDesign* td6)
{
auto& objectManager = OpenRCT2::GetContext()->GetObjectManager();
objectManager.UnloadAll();
objectManager.UnloadAllTransient();
// Load ride object
if (td6->vehicle_object.HasValue())