Rename INVALID_DIRECTION to kInvalidDirection

This commit is contained in:
Gymnasiast committed 2025-03-25 22:47:08 +01:00
1 parent d0368a7f02
commit fa15bc56d2
20 files changed
+67 -67

No files matched your search

+1 -1
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;