From a6d96f5f316d8293dcf29125382fe180de6a08a1 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Sat, 21 Feb 2026 20:57:29 +0200 Subject: [PATCH] Remove compiler warnings --- Tactical/DisplayCover.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tactical/DisplayCover.cpp b/Tactical/DisplayCover.cpp index 964314b9..d61b0640 100644 --- a/Tactical/DisplayCover.cpp +++ b/Tactical/DisplayCover.cpp @@ -81,7 +81,7 @@ void GetGridNoForViewPort( const INT32& ubX, const INT32& ubY, INT32& sGridNo ); BOOLEAN GridNoOnScreenAndAround( const INT32& sGridNo, const UINT8& ubRadius=2 ); BOOLEAN IsTheRoofVisible( const INT32& sGridNo ); -BOOLEAN HasAdjTile(const INT32 startIndex, const INT32 onRoof); +BOOLEAN HasAdjTile(const INT32 startIndex, const bool onRoof); static TileDefines GetOverlayIndex( INT8 bOverlayType ) @@ -330,7 +330,7 @@ void RemoveCoverObjectFromWorld( INT32 sGridNo, UINT16 usGraphic, BOOLEAN fRoof } -static BOOLEAN HasAdjTile(const INT32 startIndex, const INT32 onRoof) +static BOOLEAN HasAdjTile(const INT32 startIndex, const bool onRoof) { const auto rowLength = 1 + gsMaxCellX - gsMinCellX; @@ -1440,7 +1440,7 @@ void AddTraitObjectsToViewArea() } } -static BOOLEAN TraitTileHasAdjTile(const INT32 startIndex, const INT32 onRoof) +static BOOLEAN TraitTileHasAdjTile(const INT32 startIndex, const bool onRoof) { const auto rowLength = 1 + gsMaxCellX - gsMinCellX;