diff --git a/src/k_waypoint.c b/src/k_waypoint.c index 6673cec97..4070e61e6 100644 --- a/src/k_waypoint.c +++ b/src/k_waypoint.c @@ -11,9 +11,9 @@ static const UINT32 SPARKLES_PER_CONNECTION = 16U; // Some defaults for the size of the dynamically allocated sets for pathfinding. These are kept for the purpose of // allocating a size that is less likely to need reallocating again during the pathfinding. -static const size_t OPENSET_BASE_SIZE = 16U; -static const size_t CLOSEDSET_BASE_SIZE = 256U; -static const size_t NODESARRAY_BASE_SIZE = 256U; +#define OPENSET_BASE_SIZE 16U; +#define CLOSEDSET_BASE_SIZE 256U; +#define NODESARRAY_BASE_SIZE 256U; static waypoint_t *waypointheap = NULL; static waypoint_t *firstwaypoint = NULL;