From 67f64c35c5b6f48fd36582578bebf388d56ed5a4 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Thu, 30 Nov 2017 18:24:44 +0100 Subject: [PATCH] Style fixes --- src/openrct2/Game.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openrct2/Game.cpp b/src/openrct2/Game.cpp index 091a214097..22452a3cd2 100644 --- a/src/openrct2/Game.cpp +++ b/src/openrct2/Game.cpp @@ -274,7 +274,7 @@ void update_palette_effects() { waterId = water_type->palette_index_2; } - g1 = gfx_get_g1_element(shade + waterId); + g1 = gfx_get_g1_element(shade + waterId); if (g1 != nullptr) { uint8 * vs = &g1->offset[j * 3]; @@ -1200,10 +1200,10 @@ void game_fix_save_vars() uint16 spriteIndex; uint16 peepCount = 0; FOR_ALL_GUESTS(spriteIndex, peep) - { - if (!peep->outside_of_park) - peepCount++; - } + { + if (!peep->outside_of_park) + peepCount++; + } gNumGuestsInPark = peepCount;