diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index 6b62170e85..d282049131 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -1283,7 +1283,7 @@ static void GuestTryGetUpFromSitting(Guest& guest) */ void Guest::UpdateSitting() { - if (SittingSubState == PeepSittingSubState::TryingToSit) + if (SittingSubState == PeepSittingSubState::tryingToSit) { if (!CheckForPath()) return; @@ -1302,12 +1302,12 @@ void Guest::UpdateSitting() NextAnimationType = PeepAnimationType::SittingIdle; SwitchNextAnimationType(); - SittingSubState = PeepSittingSubState::SatDown; + SittingSubState = PeepSittingSubState::satDown; // Sets time to sit on seat TimeToSitdown = (129 - Energy) * 16 + 50; } - else if (SittingSubState == PeepSittingSubState::SatDown) + else if (SittingSubState == PeepSittingSubState::satDown) { if (!IsActionInterruptable()) { @@ -6235,7 +6235,7 @@ bool Guest::UpdateWalkingFindBench() SetState(PeepState::sitting); - SittingSubState = PeepSittingSubState::TryingToSit; + SittingSubState = PeepSittingSubState::tryingToSit; int32_t benchX = (x & 0xFFE0) + BenchUseOffsets[Var37 & 0x7].x; int32_t benchY = (y & 0xFFE0) + BenchUseOffsets[Var37 & 0x7].y; diff --git a/src/openrct2/entity/Peep.h b/src/openrct2/entity/Peep.h index 8878a9d6f9..f48d7cc303 100644 --- a/src/openrct2/entity/Peep.h +++ b/src/openrct2/entity/Peep.h @@ -71,8 +71,8 @@ enum class PeepState : uint8_t enum class PeepSittingSubState : uint8_t { - TryingToSit, // was = 0 - SatDown // was unassigned + tryingToSit, // was = 0 + satDown // was unassigned }; enum class PeepRideSubState : uint8_t