mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-25 07:44:38 +01:00
Fix #7295: peep_should_go_on_ride_again() checked balloon colour instead of toilet need
This commit is contained in:
committed by
Michael Steenbeek
parent
8b271f16f5
commit
e383ac02af
@@ -33,7 +33,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 "42"
|
||||
#define NETWORK_STREAM_VERSION "43"
|
||||
#define NETWORK_STREAM_ID OPENRCT2_VERSION "-" NETWORK_STREAM_VERSION
|
||||
|
||||
static rct_peep* _pickup_peep = nullptr;
|
||||
|
||||
@@ -11975,7 +11975,7 @@ static bool peep_should_go_on_ride_again(rct_peep * peep, Ride * ride)
|
||||
return false;
|
||||
if (peep->thirst < 20)
|
||||
return false;
|
||||
if (peep->balloon_colour > 170)
|
||||
if (peep->toilet > 170)
|
||||
return false;
|
||||
|
||||
uint8 r = (peep_rand() & 0xFF);
|
||||
|
||||
Reference in New Issue
Block a user