If MILITIA_STRATEGIC_COMMAND_REQUIRES_MERC is FALSE, militia can be controlled everywhere even without staffing a HQ

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8548 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2018-03-14 20:20:13 +00:00
parent 56f9864441
commit 64a971edec
5 changed files with 26 additions and 10 deletions
+4
View File
@@ -21522,6 +21522,10 @@ void MoveItemMenuMvtCallback(MOUSE_REGION * pRegion, INT32 iReason )
BOOLEAN MercStaffsMilitaryHQ()
{
// if we don't need a HQ, this is easy
if ( !gGameExternalOptions.fMilitiaStrategicCommand_MercRequired )
return TRUE;
SOLDIERTYPE *pSoldier = NULL;
UINT32 uiCnt = 0;
UINT32 firstid = gTacticalStatus.Team[ OUR_TEAM ].bFirstID;