mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 19:02:04 -05:00
Fix the casing of 'isAllowedOnSlope' to match the way it is cased in the JSON files, which causes the flag to be read correctly and re-enables building on slopes for the scenery pieces which have it specified.
This commit is contained in:
parent
1a815584ab
commit
4030d9050e
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ void WallObject::ReadJson(IReadObjectContext* context, json_t& root)
|
|||
properties,
|
||||
{
|
||||
{ "hasPrimaryColour", WALL_SCENERY_HAS_PRIMARY_COLOUR, Json::FlagType::Normal },
|
||||
{ "IsAllowedOnSlope", WALL_SCENERY_CANT_BUILD_ON_SLOPE, Json::FlagType::Inverted },
|
||||
{ "isAllowedOnSlope", WALL_SCENERY_CANT_BUILD_ON_SLOPE, Json::FlagType::Inverted },
|
||||
{ "hasSecondaryColour", WALL_SCENERY_HAS_SECONDARY_COLOUR, Json::FlagType::Normal },
|
||||
{ "hasTernaryColour", WALL_SCENERY_HAS_TERNARY_COLOUR, Json::FlagType::Normal },
|
||||
{ "hasGlass", WALL_SCENERY_HAS_GLASS, Json::FlagType::Normal },
|
||||
|
|
Loading…
Add table
Reference in a new issue