From 03eb6c287c06e5dd1a983bf274b21b0cd911174b Mon Sep 17 00:00:00 2001 From: Gymnasiast Date: Sat, 1 Oct 2016 11:36:00 +0200 Subject: [PATCH] Code style fixes --- src/cheats.c | 10 +++++----- src/peep/peep.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cheats.c b/src/cheats.c index 19daa5d689..cd66784857 100644 --- a/src/cheats.c +++ b/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; diff --git a/src/peep/peep.c b/src/peep/peep.c index cba8f6b7b1..d958b09133 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -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; }