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:
Overhaul
2007-07-26 05:26:38 +00:00
parent 3e997fa0e1
commit c462fd7744
3 changed files with 90 additions and 4 deletions
+2 -2
View File
@@ -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 )