From d0dbb9afb1c0420d93a149f8a73930aec5ee8f98 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Sun, 1 Dec 2024 21:37:52 +0200 Subject: [PATCH] Remove unused function --- Tactical/Overhead.cpp | 8 -------- Tactical/Overhead.h | 1 - 2 files changed, 9 deletions(-) diff --git a/Tactical/Overhead.cpp b/Tactical/Overhead.cpp index 789a4b801..13dfe11a6 100644 --- a/Tactical/Overhead.cpp +++ b/Tactical/Overhead.cpp @@ -11728,14 +11728,6 @@ UINT16 NumSoldiersofClassWithFlag2InSector( UINT8 aTeam, UINT8 aSoldierClass, UI return num; } -INT32 GetClosestSoldierWithFlag( UINT8 aTeam, UINT32 aFlag ) -{ - INT32 sBestGridNo = NOWHERE; - - - - return sBestGridNo; -} // Flugente: VIP targets // can a new VIP be created? diff --git a/Tactical/Overhead.h b/Tactical/Overhead.h index f611474b0..fc89d207b 100644 --- a/Tactical/Overhead.h +++ b/Tactical/Overhead.h @@ -405,7 +405,6 @@ UINT16 HighestEnemyOfficersInSector(UINT8& aType); // count all soldiers in the current sector that have a specific flag set UINT16 NumSoldiersWithFlagInSector(UINT8 aTeam, UINT32 aFlag); UINT16 NumSoldiersofClassWithFlag2InSector( UINT8 aTeam, UINT8 aSoldierClass, UINT32 aFlag ); -INT32 GetClosestSoldierWithFlag( UINT8 aTeam, UINT32 aFlag ); // Flugente: VIP targets // can a new VIP be created?