1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Create repositories in OpenRCT2.c

This commit is contained in:
Ted John
2016-12-12 01:17:47 +00:00
parent 7410326fcc
commit cc227b7761
7 changed files with 40 additions and 30 deletions

View File

@@ -42,7 +42,13 @@ private:
public:
ObjectManager(IObjectRepository * objectRepository)
{
Guard::ArgumentNotNull(objectRepository);
_objectRepository = objectRepository;
UpdateLegacyLoadedObjectList();
UpdateSceneryGroupIndexes();
reset_type_to_ride_entry_index_map();
}
~ObjectManager() override