Skip to content

Commit

Permalink
fix OpenRCT2#21987: API cannot handle negative removal prices
Browse files Browse the repository at this point in the history
  • Loading branch information
Sadret committed Jun 5, 2024
1 parent a25daf2 commit b070321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2/scripting/bindings/object/ScObject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ namespace OpenRCT2::Scripting
return 0;
}

uint8_t removalPrice_get() const
int8_t removalPrice_get() const
{
auto sceneryEntry = GetLegacyData();
if (sceneryEntry != nullptr)
Expand Down

0 comments on commit b070321

Please sign in to comment.