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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user