From b1b28defd5bac2e3dd8a46ce85dd4ed93fd551d7 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Tue, 19 Mar 2024 00:12:23 -0400 Subject: [PATCH] Small Change --- mods/src/misc/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/src/misc/misc.cpp b/mods/src/misc/misc.cpp index 50818bec..ef0380ec 100644 --- a/mods/src/misc/misc.cpp +++ b/mods/src/misc/misc.cpp @@ -97,7 +97,7 @@ struct chunk_data { float distance; }; #define MAX_CHUNKS_SIZE 24336 -chunk_data data[MAX_CHUNKS_SIZE]; +static chunk_data data[MAX_CHUNKS_SIZE]; static void sort_chunks(Chunk **chunks_begin, Chunk **chunks_end, DistanceChunkSorter sorter) { // Calculate Distances int chunks_size = chunks_end - chunks_begin;