From 355bebc63a69c3fb4f097d7e94cc933a372eb3e7 Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Sun, 7 Jun 2020 21:26:21 -0300 Subject: [PATCH] Rename Peep::standing_flags to StandingFlags --- src/openrct2/peep/Guest.cpp | 8 ++++---- src/openrct2/peep/Peep.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openrct2/peep/Guest.cpp b/src/openrct2/peep/Guest.cpp index c47ff4b8e5..15fbc323da 100644 --- a/src/openrct2/peep/Guest.cpp +++ b/src/openrct2/peep/Guest.cpp @@ -5786,7 +5786,7 @@ void Guest::UpdateWatching() return; } - if ((standing_flags & 1)) + if ((StandingFlags & 1)) { if ((scenario_rand() & 0xFFFF) <= 655) { @@ -5799,8 +5799,8 @@ void Guest::UpdateWatching() } } - standing_flags ^= (1 << 7); - if (!(standing_flags & (1 << 7))) + StandingFlags ^= (1 << 7); + if (!(StandingFlags & (1 << 7))) return; time_to_stand--; @@ -6902,7 +6902,7 @@ void Guest::UpdateSpriteType() } } - if (state == PEEP_STATE_WATCHING && standing_flags & (1 << 1)) + if (state == PEEP_STATE_WATCHING && StandingFlags & (1 << 1)) { SetSpriteType(PEEP_SPRITE_TYPE_WATCHING); return; diff --git a/src/openrct2/peep/Peep.h b/src/openrct2/peep/Peep.h index 22d0ead821..87316962a3 100644 --- a/src/openrct2/peep/Peep.h +++ b/src/openrct2/peep/Peep.h @@ -649,7 +649,7 @@ struct Peep : SpriteBase struct { uint8_t time_to_stand; - uint8_t standing_flags; + uint8_t StandingFlags; }; }; // Normally 0, 1 for carrying sliding board on spiral slide ride, 2 for carrying lawn mower