Mark TacticalStatusType::sSlideReason as _UNUSED

Removed from function call parameters at the same time.
It was supplied to SlideTo, SlideToLocation and SoldierLocationRelativeToScreen but was never used.
This commit is contained in:
Asdow
2024-11-17 14:20:37 +02:00
parent 30e6b9008c
commit f58cf588a6
13 changed files with 30 additions and 35 deletions
+4 -4
View File
@@ -225,7 +225,7 @@ void StartPlayerTeamTurn( BOOLEAN fDoBattleSnd, BOOLEAN fEnteringCombatMode )
// Slide to selected guy...
if ( gusSelectedSoldier != NOBODY )
{
SlideTo( NOWHERE, gusSelectedSoldier, NOBODY ,SETLOCATOR);
SlideTo(gusSelectedSoldier, SETLOCATOR);
if ( fDoBattleSnd )
{
@@ -688,7 +688,7 @@ void DisplayHiddenInterrupt( SOLDIERTYPE * pSoldier )
if (pSoldier->bVisible != -1 )
{
SlideTo( NOWHERE, pSoldier->ubID, NOBODY ,SETLOCATOR);
SlideTo( pSoldier->ubID, SETLOCATOR);
}
if(is_client)
@@ -961,7 +961,7 @@ void StartInterrupt( void )
SelectSoldier( ubFirstInterrupter, TRUE, TRUE );
// ATE; Slide to guy who got interrupted!
SlideTo( NOWHERE, gubLastInterruptedGuy, NOBODY, SETLOCATOR);
SlideTo( gubLastInterruptedGuy, SETLOCATOR);
// Dirty panel interface!
fInterfacePanelDirty = DIRTYLEVEL2;
@@ -1329,7 +1329,7 @@ void EndInterrupt( BOOLEAN fMarkInterruptOccurred )
if ( gusSelectedSoldier != NOBODY )
{
SlideTo( NOWHERE, gusSelectedSoldier, NOBODY ,SETLOCATOR);
SlideTo( gusSelectedSoldier, SETLOCATOR);
// Say ATTENTION SOUND...
gusSelectedSoldier->DoMercBattleSound( BATTLE_SOUND_ATTN1 );