mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix being unable to refund when in negative money
This commit is contained in:
parent
d31e92e652
commit
6a0cff2676
|
@ -89,7 +89,7 @@ bool finance_check_money_required(uint32_t flags)
|
|||
*/
|
||||
bool finance_check_affordability(money32 cost, uint32_t flags)
|
||||
{
|
||||
if (cost == 0)
|
||||
if (cost <= 0)
|
||||
return true;
|
||||
if (finance_check_money_required(flags) == false)
|
||||
return true;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
// This string specifies which version of network stream current build uses.
|
||||
// It is used for making sure only compatible builds get connected, even within
|
||||
// single OpenRCT2 version.
|
||||
#define NETWORK_STREAM_VERSION "43"
|
||||
#define NETWORK_STREAM_VERSION "44"
|
||||
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
|
||||
|
||||
static rct_peep* _pickup_peep = nullptr;
|
||||
|
|
Loading…
Reference in New Issue