Remove unused global

This commit is contained in:
Hielke Morsink authored and GitHub committed 2023-01-29 20:51:26 +00:00
1 parent 62a96cc251
commit 51dccb4096
1 file changed
-2
-2
View File
@@ -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. */