mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fixed min and max intensity being swapped
This commit is contained in:
parent
1b2a7e62a2
commit
b0437746a9
|
@ -7558,8 +7558,8 @@ static void peep_on_enter_ride(rct_peep *peep, int rideIndex)
|
|||
satisfactionFlags = 0x1FF;
|
||||
} else {
|
||||
satisfactionFlags = 0;
|
||||
maxIntensity = (peep->intensity & 0x0F) * 100;
|
||||
minIntensity = (peep->intensity / 16) * 100;
|
||||
maxIntensity = (peep->intensity >> 4) * 100;
|
||||
minIntensity = (peep->intensity & 0xF) * 100;
|
||||
if (maxIntensity <= ride->intensity || minIntensity >= ride->intensity) {
|
||||
satisfactionFlags |= (1 << 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue