mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix missed occurrence of SCROLLING_MODE_NONE
This commit is contained in:
parent
602821a389
commit
1c0877fc6c
|
@ -13,6 +13,7 @@
|
|||
#include "../core/String.hpp"
|
||||
#include "../drawing/Drawing.h"
|
||||
#include "../localisation/Localisation.h"
|
||||
#include "../world/Banner.h"
|
||||
#include "ObjectJsonHelpers.h"
|
||||
|
||||
void StationObject::Load()
|
||||
|
@ -82,7 +83,7 @@ void StationObject::ReadJson(IReadObjectContext* context, const json_t* root)
|
|||
{
|
||||
auto properties = json_object_get(root, "properties");
|
||||
Height = ObjectJsonHelpers::GetInteger(properties, "height", 0);
|
||||
ScrollingMode = ObjectJsonHelpers::GetInteger(properties, "scrollingMode", 0xFF);
|
||||
ScrollingMode = ObjectJsonHelpers::GetInteger(properties, "scrollingMode", SCROLLING_MODE_NONE);
|
||||
Flags = ObjectJsonHelpers::GetFlags<uint32_t>(
|
||||
properties,
|
||||
{ { "hasPrimaryColour", STATION_OBJECT_FLAGS::HAS_PRIMARY_COLOUR },
|
||||
|
|
Loading…
Reference in New Issue