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

Code style fixes

This commit is contained in:
Gymnasiast
2016-10-01 11:36:00 +02:00
parent f2a30c4c44
commit 03eb6c287c
2 changed files with 6 additions and 6 deletions

View File

@@ -259,12 +259,12 @@ static void cheat_set_guest_parameter(int parameter, int value)
switch(parameter) {
case GUEST_PARAMETER_HAPPINESS:
peep->happiness = value;
// Clear the 'red-faced with anger' status if we're making the guest happy
// Clear the 'red-faced with anger' status if we're making the guest happy
if (value > 0)
{
peep->peep_flags &= ~PEEP_FLAGS_ANGRY;
peep->angriness = 0;
}
{
peep->peep_flags &= ~PEEP_FLAGS_ANGRY;
peep->angriness = 0;
}
break;
case GUEST_PARAMETER_ENERGY:
peep->energy = value;

View File

@@ -5364,7 +5364,7 @@ static void peep_update_walking_break_scenery(rct_peep* peep){
(map_element->base_height << 3) + 32,
map_element->base_height << 3);
peep->angriness = 0x10;
peep->angriness = 16;
return;
}