From b85e53e8988698dc1b4555b8e1b2b520d4641849 Mon Sep 17 00:00:00 2001 From: zaxcav Date: Thu, 20 Oct 2016 10:39:48 +0200 Subject: [PATCH] Replace hex number with decimal number per PR review comments. --- src/peep/peep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peep/peep.c b/src/peep/peep.c index b1f0397a9a..b8cae51d06 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -7027,7 +7027,7 @@ rct_peep *peep_generate(int x, int y, int z) /* Assume a default initial happiness of 0 is wrong and set * to 128 (50%) instead. */ if (gGuestInitialHappiness == 0) - peep->happiness = 0x80; + peep->happiness = 128; /* Initial value will vary by -15..16 */ sint8 happiness_delta = (scenario_rand() & 0x1F) - 15; /* Adjust by the delta, clamping at min=0 and max=255. */