mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Fix #21987: API cannot handle negative removal prices
This commit is contained in:
@@ -864,7 +864,7 @@ namespace OpenRCT2::Scripting
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t price_get() const
|
||||
money64 price_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
if (sceneryEntry != nullptr)
|
||||
@@ -874,7 +874,7 @@ namespace OpenRCT2::Scripting
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t removalPrice_get() const
|
||||
money64 removalPrice_get() const
|
||||
{
|
||||
auto sceneryEntry = GetLegacyData();
|
||||
if (sceneryEntry != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user