mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Rename Guest::Loc68FA89 to UpdateConsumptionMotives
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user