1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 00:34:46 +01:00

Rename PEEP_MAX_ENERGY to kPeepMaxEnergy

This commit is contained in:
Harry-Hopkinson
2024-04-15 15:21:49 +00:00
parent 04ca18b7c6
commit cf50b4c8a3
5 changed files with 6 additions and 6 deletions

View File

@@ -847,7 +847,7 @@ void Guest::Loc68FA89()
newEnergy = kPeepMinEnergy;
/* Previous code here suggested maximum energy is 128. */
newEnergy = std::min(static_cast<uint8_t>(PEEP_MAX_ENERGY), newEnergy);
newEnergy = std::min(kPeepMaxEnergy, newEnergy);
if (newEnergy != Energy)
{