mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Formating.
This commit is contained in:
@@ -65,8 +65,7 @@ namespace ParkImporter
|
||||
{
|
||||
std::unique_ptr<IParkImporter> Create(const std::string& hintPath);
|
||||
std::unique_ptr<IParkImporter> CreateS4();
|
||||
std::unique_ptr<IParkImporter> CreateS6(
|
||||
IObjectRepository& objectRepository);
|
||||
std::unique_ptr<IParkImporter> CreateS6(IObjectRepository& objectRepository);
|
||||
|
||||
bool ExtensionIsRCT1(const std::string& extension);
|
||||
bool ExtensionIsScenario(const std::string& extension);
|
||||
|
||||
@@ -843,8 +843,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
std::unique_ptr<IParkImporter> ParkImporter::CreateS6(
|
||||
IObjectRepository& objectRepository)
|
||||
std::unique_ptr<IParkImporter> ParkImporter::CreateS6(IObjectRepository& objectRepository)
|
||||
{
|
||||
return std::make_unique<S6Importer>(objectRepository);
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ rct_ride_entry* get_ride_entry(int32_t index)
|
||||
{
|
||||
rct_ride_entry* result = nullptr;
|
||||
auto& objMgr = OpenRCT2::GetContext()->GetObjectManager();
|
||||
|
||||
|
||||
auto obj = objMgr.GetLoadedObject(OBJECT_TYPE_RIDE, index);
|
||||
if (obj != nullptr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user