Rename rct_ride->undercover_portion to sheltered_eighths.

This commit is contained in:
Richard Jenkins 2017-06-01 22:40:33 +01:00 committed by rwjuk
parent d191aaa1ef
commit 7a3bc1e5fd
2 changed files with 3 additions and 3 deletions

View File

@ -11775,7 +11775,7 @@ static bool peep_should_go_on_ride(rct_peep *peep, sint32 rideIndex, sint32 entr
// Peeps won't go on rides that aren't sufficiently undercover while it's raining.
// The threshold is fairly low and only requires about 10-15% of the ride to be undercover.
if (gClimateCurrentRainLevel != 0 && (ride->undercover_portion >> 5) < 3) {
if (gClimateCurrentRainLevel != 0 && (ride->sheltered_eighths >> 5) < 3) {
if (peepAtRide) {
peep_insert_new_thought(peep, PEEP_THOUGHT_TYPE_NOT_WHILE_RAINING, rideIndex);
if (peep->happiness_growth_rate >= 64) {

View File

@ -220,9 +220,9 @@ typedef struct rct_ride {
union {
uint8 inversions; // 0x114 (???X XXXX)
uint8 holes; // 0x114 (???X XXXX)
// The undercover portion is a very rough approximation of how much of the ride is undercover.
// This a very rough approximation of how much of the ride is undercover.
// It reaches the maximum value of 7 at about 50% undercover and doesn't increase beyond that.
uint8 undercover_portion; // 0x114 (XXX?-????)
uint8 sheltered_eighths; // 0x114 (XXX?-????)
};
// Y is number of powered lifts, X is drops
uint8 drops; // 0x115 (YYXX XXXX)