mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Merge pull request #1014 from Garogolun/mingw-fixes
Fix most confusing layout award
This commit is contained in:
@@ -519,7 +519,7 @@ static int award_is_deserved_most_confusing_layout(int awardType, int activeAwar
|
||||
continue;
|
||||
|
||||
peepsCounted++;
|
||||
if ((peep->thoughts[0].var_2 <= 5 && peep->thoughts[0].type == PEEP_THOUGHT_TYPE_LOST) || peep->thoughts[0].type == PEEP_THOUGHT_TYPE_CANT_FIND)
|
||||
if (peep->thoughts[0].var_2 <= 5 && (peep->thoughts[0].type == PEEP_THOUGHT_TYPE_LOST || peep->thoughts[0].type == PEEP_THOUGHT_TYPE_CANT_FIND))
|
||||
peepsLost++;
|
||||
}
|
||||
|
||||
@@ -631,4 +631,4 @@ void award_update_all()
|
||||
if (awards[i].time != 0)
|
||||
if (--awards[i].time == 0)
|
||||
window_invalidate_by_class(WC_PARK_INFORMATION);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user