mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 02:05:13 +01:00
Add new audio objects for loading sounds
This commit is contained in:
@@ -361,8 +361,8 @@ namespace OpenRCT2
|
||||
auto objectList = objManager.GetLoadedObjects();
|
||||
|
||||
// Write number of object sub lists
|
||||
cs.Write(static_cast<uint16_t>(ObjectType::Count));
|
||||
for (auto objectType = ObjectType::Ride; objectType < ObjectType::Count; objectType++)
|
||||
cs.Write(static_cast<uint16_t>(TransientObjectTypes.size()));
|
||||
for (auto objectType : TransientObjectTypes)
|
||||
{
|
||||
// Write sub list
|
||||
const auto& list = objectList.GetList(objectType);
|
||||
|
||||
Reference in New Issue
Block a user