mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Fix #8732 GameActions not working when in negative money.
Related to the simplification to the finance code
This commit is contained in:
@@ -89,6 +89,8 @@ bool finance_check_money_required(uint32_t flags)
|
||||
*/
|
||||
bool finance_check_affordability(money32 cost, uint32_t flags)
|
||||
{
|
||||
if (cost == 0)
|
||||
return true;
|
||||
if (finance_check_money_required(flags) == false)
|
||||
return true;
|
||||
if (cost > gCash)
|
||||
|
||||
Reference in New Issue
Block a user