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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user