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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user