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:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user