1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 13:33:02 +01:00

Rename INVALID_DIRECTION to kInvalidDirection

This commit is contained in:
Gymnasiast
2025-03-25 17:42:20 +01:00
parent d0368a7f02
commit fa15bc56d2
20 changed files with 67 additions and 67 deletions

View File

@@ -88,7 +88,7 @@ protected:
// Pick the direction the peep should initially move in, given the goal position.
// This will also store the goal position and initialize pathfinding data for the peep.
const Direction moveDir = PathFinding::ChooseDirection(*pos, goal, *peep, false, RideId::GetNull());
if (moveDir == INVALID_DIRECTION)
if (moveDir == kInvalidDirection)
{
// Couldn't determine a direction to move off in
return false;