Rename Guest::Loc68F9F3 to UpdateMotivesIdle

This commit is contained in:
Aaron van Geffen committed 2024-07-01 17:29:37 +02:00
1 parent fe655cdc26
commit f4cd1f18c8
2 files changed
+4 -4

No files matched your search

+3 -3
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();
+1 -1
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);