1
0
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:
Aaron van Geffen
2024-06-29 14:36:29 +02:00
parent 58e576688c
commit fe655cdc26
2 changed files with 5 additions and 5 deletions

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();
}
/**

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