From 3137e6e54a033ef076b0f83a7b1f354f9c3d441f Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Tue, 22 Oct 2019 17:41:00 -0400 Subject: [PATCH] Parathesis for defines Also just caught the ;, which could've mess up the define(?) --- src/k_waypoint.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/k_waypoint.c b/src/k_waypoint.c index 9ddf713a0..6acaadb21 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. -#define OPENSET_BASE_SIZE 16U; -#define CLOSEDSET_BASE_SIZE 256U; -#define 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;