mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 20:43:04 +01:00
* Close #12388, refactor:PeepState to use strong enum * refactor: refactored file PlayTests.cpp * refactor: change PEEP_STATE_ to PeepState:: and camel case after merging chore: code reformatting
This commit is contained in:
@@ -194,7 +194,7 @@ static bool map_animation_invalidate_small_scenery(const CoordsXYZ& loc)
|
||||
auto quad = EntityTileList<Peep>(CoordsXY{ loc } - CoordsDirectionDelta[direction]);
|
||||
for (auto peep : quad)
|
||||
{
|
||||
if (peep->State != PEEP_STATE_WALKING)
|
||||
if (peep->State != PeepState::Walking)
|
||||
continue;
|
||||
if (peep->z != loc.z)
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user