From f4cd1f18c88282cd09bb9522265b890eabd7c3cf Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 29 Jun 2024 14:37:35 +0200 Subject: [PATCH] Rename Guest::Loc68F9F3 to UpdateMotivesIdle --- src/openrct2/entity/Guest.cpp | 6 +++--- src/openrct2/entity/Guest.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openrct2/entity/Guest.cpp b/src/openrct2/entity/Guest.cpp index 6cad1c015f..304681d325 100644 --- a/src/openrct2/entity/Guest.cpp +++ b/src/openrct2/entity/Guest.cpp @@ -740,7 +740,7 @@ int32_t Guest::CheckEasterEggName(int32_t index) const return String::IEquals(buffer, gPeepEasterEggNames[index]); } -void Guest::Loc68F9F3() +void Guest::UpdateMotivesIdle() { // Idle peep happiness tends towards 127 (50%). if (HappinessTarget >= 128) @@ -1024,7 +1024,7 @@ void Guest::Tick128UpdateGuest(uint32_t index) HappinessTarget = std::max(HappinessTarget - 128, 0); PeepLeavePark(this); PeepUpdateHunger(this); - Loc68F9F3(); + UpdateMotivesIdle(); UpdateConsumptionMotives(); return; } @@ -1216,7 +1216,7 @@ void Guest::Tick128UpdateGuest(uint32_t index) break; } - Loc68F9F3(); + UpdateMotivesIdle(); } UpdateConsumptionMotives(); diff --git a/src/openrct2/entity/Guest.h b/src/openrct2/entity/Guest.h index 63a2f10410..17b6958551 100644 --- a/src/openrct2/entity/Guest.h +++ b/src/openrct2/entity/Guest.h @@ -414,7 +414,7 @@ private: void UpdateRideShopInteract(); void UpdateRideShopLeave(); void UpdateRidePrepareForExit(); - void Loc68F9F3(); + void UpdateMotivesIdle(); void UpdateConsumptionMotives(); int32_t CheckEasterEggName(int32_t index) const; void GivePassingPeepsPurpleClothes(Guest* passingPeep);