mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-22 15:23:01 +01:00
Use correct type in path finding code
This commit is contained in:
@@ -64,7 +64,7 @@ protected:
|
|||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool FindPath(TileCoordsXYZ* pos, const TileCoordsXYZ& goal, int expectedSteps, int targetRideID)
|
static bool FindPath(TileCoordsXYZ* pos, const TileCoordsXYZ& goal, int expectedSteps, ride_id_t targetRideID)
|
||||||
{
|
{
|
||||||
// Our start position is in tile coordinates, but we need to give the peep spawn
|
// Our start position is in tile coordinates, but we need to give the peep spawn
|
||||||
// position in actual world coords (32 units per tile X/Y, 8 per Z level).
|
// position in actual world coords (32 units per tile X/Y, 8 per Z level).
|
||||||
|
|||||||
Reference in New Issue
Block a user