mirror of https://github.com/OpenRCT2/OpenRCT2.git
Revert re order of small scenery function
This commit is contained in:
parent
b3fc7fcf18
commit
74fc4d3666
|
@ -917,16 +917,6 @@ namespace OpenRCT2::Scripting
|
|||
return 0;
|
||||
}
|
||||
|
||||
uint8_t price_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
if (sceneryEntry != nullptr)
|
||||
{
|
||||
return sceneryEntry->price;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t height_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
|
@ -937,6 +927,16 @@ namespace OpenRCT2::Scripting
|
|||
return 0;
|
||||
}
|
||||
|
||||
uint8_t price_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
if (sceneryEntry != nullptr)
|
||||
{
|
||||
return sceneryEntry->price;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t removalPrice_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
|
|
Loading…
Reference in New Issue