Remove bLastKnownEnemies from SECTORINFO

As per the old comment, even though the field value is updated partially according to whether there are known enemies present or not, it's not used for anything.
This commit is contained in:
Asdow
2024-11-11 00:14:51 +02:00
parent fcf2b27d1a
commit 6c33009fab
6 changed files with 0 additions and 54 deletions
-5
View File
@@ -7520,11 +7520,6 @@ BOOLEAN CheckForEndOfBattle( BOOLEAN fAnEnemyRetreated )
if ( fBattleLost || fBattleWon )
{
if( !gbWorldSectorZ )
{
SectorInfo[SECTOR( gWorldSectorX, gWorldSectorY )].bLastKnownEnemies = NumNonPlayerTeamMembersInSector( gWorldSectorX, gWorldSectorY, ENEMY_TEAM );
}
// Flugente: note number of wounded for campaign stats
UpdateWoundedFromSectorInfo( gWorldSectorX, gWorldSectorY, gbWorldSectorZ );
}