1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

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

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