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