forked from rosebudai/OpenRCT2-Web
Rename INVALID_DIRECTION to kInvalidDirection
This commit is contained in:
20 files changed
+67
-67
No files matched your search
@@ -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