From cb27d0cd725e7c29c1847330338e39e06e85c963 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Wed, 3 Dec 2025 23:01:31 +0200 Subject: [PATCH] Set functions static --- Strategic/Campaign Init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Strategic/Campaign Init.cpp b/Strategic/Campaign Init.cpp index 6b5aed11..e2e62946 100644 --- a/Strategic/Campaign Init.cpp +++ b/Strategic/Campaign Init.cpp @@ -306,7 +306,7 @@ void InitKnowFacilitiesFlags( ) //Mobile groups are handled separately from sectors, because they are on the move. -void GeneratePatrolGroups() +static void GeneratePatrolGroups() { GROUP *pGroup; UINT8 ubNumTroops; @@ -524,7 +524,7 @@ void BuildUndergroundSectorInfoList() // Lesh: this function creates randomized world // every sector can be randomized between common and alternative, chances 50/50 // randomization of individual sectors can be switched off via array RandomSector[] -void InitWorld() +static void InitWorld() { INT16 sSectorCounter;