1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 03:53:07 +01:00

Fixed min and max intensity being swapped

This commit is contained in:
Sam Horn
2015-10-10 21:34:37 +10:00
parent 1b2a7e62a2
commit b0437746a9

View File

@@ -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);
}