From 51dccb4096930dad9d7451b48a2a612c8a74b9df Mon Sep 17 00:00:00 2001 From: Hielke Morsink Date: Sun, 29 Jan 2023 21:51:26 +0100 Subject: [PATCH] Remove unused global --- src/openrct2/peep/GuestPathfinding.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openrct2/peep/GuestPathfinding.cpp b/src/openrct2/peep/GuestPathfinding.cpp index 27210cf27e..965588f83a 100644 --- a/src/openrct2/peep/GuestPathfinding.cpp +++ b/src/openrct2/peep/GuestPathfinding.cpp @@ -30,7 +30,6 @@ static bool _peepPathFindIsStaff; static int8_t _peepPathFindNumJunctions; static int8_t _peepPathFindMaxJunctions; static int32_t _peepPathFindTilesChecked; -static uint8_t _peepPathFindFewestNumSteps; TileCoordsXYZ gPeepPathFindGoalPosition; bool gPeepPathFindIgnoreForeignQueues; @@ -1461,7 +1460,6 @@ Direction OriginalPathfinding::ChooseDirection(const TileCoordsXYZ& loc, Peep& p height += 0x2; } - _peepPathFindFewestNumSteps = 255; /* Divide the maxTilesChecked global search limit * between the remaining edges to ensure the search * covers all of the remaining edges. */