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
1 changed files with 2 additions and 2 deletions

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