forked from rosebudai/OpenRCT2-Web
Add new audio objects for loading sounds
This commit is contained in:
1 parent
697fa7c436
commit
a2e6691ac2
46 files changed
+1583
-1152
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user