mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Merged from revision: 7484
Fixes (by Buggler) - Commented code due to weird results when swapping filled LBE items that has pockets of the same size - Fixed militia remains in loaded sector on using Unassign All button and then not assigning any militia to the loaded sector git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7485 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5500,6 +5500,11 @@ void HandleRemovalOfAllTroopsAmongstSectors( void )
|
||||
SectorInfo[ sCurrentSectorValue ].ubNumberOfCivsAtLevel[ GREEN_MILITIA ] = 0;
|
||||
SectorInfo[ sCurrentSectorValue ].ubNumberOfCivsAtLevel[ REGULAR_MILITIA ] = 0;
|
||||
SectorInfo[ sCurrentSectorValue ].ubNumberOfCivsAtLevel[ ELITE_MILITIA ] = 0;
|
||||
|
||||
if( sSectorX == gWorldSectorX && sSectorY == gWorldSectorY )
|
||||
{
|
||||
gfStrategicMilitiaChangesMade = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user