1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00

Ensure one footpath surface and railing is selected

This commit is contained in:
Ted John
2021-04-24 16:23:34 +01:00
parent 43985a52c3
commit dff8d443f6
11 changed files with 64 additions and 14 deletions

View File

@@ -11,6 +11,7 @@
#include "../core/IStream.hpp"
#include "../core/Json.hpp"
#include "../object/ObjectRepository.h"
void FootpathSurfaceObject::Load()
{
@@ -61,3 +62,8 @@ void FootpathSurfaceObject::ReadJson(IReadObjectContext* context, json_t& root)
PopulateTablesFromJson(context, root);
}
void FootpathSurfaceObject::SetRepositoryItem(ObjectRepositoryItem* item) const
{
item->FootpathSurfaceInfo.Flags = Flags;
}