| 258 | } |
| 259 | |
| 260 | void ResetObjects() override |
| 261 | { |
| 262 | for (auto& list : _loadedObjects) |
| 263 | { |
| 264 | for (auto* loadedObject : list) |
| 265 | { |
| 266 | if (loadedObject != nullptr) |
| 267 | { |
| 268 | loadedObject->Unload(); |
| 269 | loadedObject->Load(); |
| 270 | } |
| 271 | } |
| 272 | } |
| 273 | UpdateSceneryGroupIndexes(); |
| 274 | ResetTypeToRideEntryIndexMap(); |
| 275 | |
| 276 | // We will need to replay the title music if the title music object got reloaded |
| 277 | Audio::StopTitleMusic(); |
| 278 | Audio::PlayTitleMusic(); |
| 279 | RideAudio::StopAllChannels(); |
| 280 | } |
| 281 | |
| 282 | std::vector<const ObjectRepositoryItem*> GetPackableObjects() override |
| 283 | { |
no test coverage detected