Rename Guest::Loc68FA89 to UpdateConsumptionMotives

This commit is contained in:
Aaron van Geffen committed 2024-07-01 17:29:36 +02:00
1 parent 58e576688c
commit fe655cdc26
2 files changed
+5 -5

No files matched your search

+4 -4
View File
@@ -785,9 +785,9 @@ void Guest::Loc68F9F3()
}
}
void Guest::Loc68FA89()
/* rct2: 0x0068FA89*/
void Guest::UpdateConsumptionMotives()
{
// 68FA89
if (TimeToConsume == 0 && HasFoodOrDrink())
{
TimeToConsume += 3;
@@ -1025,7 +1025,7 @@ void Guest::Tick128UpdateGuest(uint32_t index)
PeepLeavePark(this);
PeepUpdateHunger(this);
Loc68F9F3();
Loc68FA89();
UpdateConsumptionMotives();
return;
}
}
@@ -1219,7 +1219,7 @@ void Guest::Tick128UpdateGuest(uint32_t index)
Loc68F9F3();
}
Loc68FA89();
UpdateConsumptionMotives();
}
/**
+1 -1
View File
@@ -415,7 +415,7 @@ private:
void UpdateRideShopLeave();
void UpdateRidePrepareForExit();
void Loc68F9F3();
void Loc68FA89();
void UpdateConsumptionMotives();
int32_t CheckEasterEggName(int32_t index) const;
void GivePassingPeepsPurpleClothes(Guest* passingPeep);
void GivePassingPeepsPizza(Guest* passingPeep);