mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-23 06:44:38 +01:00
Refactor objects to use new JSON library
This commit is contained in:
@@ -9,13 +9,11 @@
|
||||
|
||||
#include "SceneryObject.h"
|
||||
|
||||
#include "ObjectJsonHelpers.h"
|
||||
|
||||
void SceneryObject::SetPrimarySceneryGroup(const std::string& s)
|
||||
{
|
||||
if (!s.empty())
|
||||
{
|
||||
auto sgEntry = ObjectJsonHelpers::ParseObjectEntry(s);
|
||||
auto sgEntry = ParseObjectEntry(s);
|
||||
SetPrimarySceneryGroup(&sgEntry);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user