mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 03:05:24 +01:00
Refactor peep code
Use constants rather than magic numbers and make identifiers consistent
This commit is contained in:
@@ -116,7 +116,7 @@ static int award_is_deserved_most_tidy(int awardType, int activeAwardTypes)
|
||||
if (peep->thoughts[0].var_2 > 5)
|
||||
continue;
|
||||
|
||||
if (peep->thoughts[0].type == PEEP_THOUGHT_VERY_CLEAN)
|
||||
if (peep->thoughts[0].type == PEEP_THOUGHT_TYPE_VERY_CLEAN)
|
||||
positiveCount++;
|
||||
|
||||
if (peep->thoughts[0].type == PEEP_THOUGHT_TYPE_BAD_LITTER ||
|
||||
|
||||
Reference in New Issue
Block a user