Revert re order of small scenery function

This commit is contained in:
Ted John 2023-04-17 23:53:47 +01:00
parent b3fc7fcf18
commit 74fc4d3666
1 changed files with 10 additions and 10 deletions

View File

@ -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();