1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Rename Guest::Loc68F9F3 to UpdateMotivesIdle

This commit is contained in:
Aaron van Geffen
2024-06-29 14:37:35 +02:00
parent fe655cdc26
commit f4cd1f18c8
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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);