mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
Code style fixes
This commit is contained in:
10
src/cheats.c
10
src/cheats.c
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user