forked from rosebudai/OpenRCT2-Web
Code style fixes
This commit is contained in:
1 parent
f2a30c4c44
commit
03eb6c287c
2 files changed
+6
-6
No files matched your search
+5
-5
@@ -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;
|
||||
|
||||
+1
-1
@@ -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