mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
More detailed error messages for failed saves
Yet another phantom militia fix git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1124 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -227,6 +227,7 @@ void PrepareMilitiaForTactical()
|
||||
ubRegs = pSector->ubNumberOfCivsAtLevel[ REGULAR_MILITIA ];
|
||||
ubElites = pSector->ubNumberOfCivsAtLevel[ ELITE_MILITIA ];
|
||||
|
||||
#if 0
|
||||
if(guiDirNumber)
|
||||
{
|
||||
for( x = 0 ; x < guiDirNumber ; ++x )
|
||||
@@ -258,6 +259,7 @@ void PrepareMilitiaForTactical()
|
||||
}
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
AddSoldierInitListMilitia( ubGreen, ubRegs, ubElites );
|
||||
}
|
||||
@@ -270,8 +272,6 @@ void PrepareMilitiaForTactical()
|
||||
//// MercPtrs[ i ]->bAttitude = AGGRESSIVE;
|
||||
// }
|
||||
// }
|
||||
guiDirNumber = 0;
|
||||
memset( gpAttackDirs, 0, sizeof( gpAttackDirs));
|
||||
}
|
||||
|
||||
void HandleMilitiaPromotions( void )
|
||||
|
||||
Reference in New Issue
Block a user