mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Expanded feature: Militia Strategic Movement is turned on with ALLOW_MILITIA_STRATEGIC_COMMAND set to TRUE and allows plotting paths for the militia just like for merc squads.
GameDir >= r2204 is recommended. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7727 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1339,7 +1339,7 @@ BOOLEAN AllowedToTimeCompress( void )
|
||||
}
|
||||
|
||||
// moving / confirming movement
|
||||
if( ( bSelectedDestChar != -1 ) || fPlotForHelicopter || gfInConfirmMapMoveMode || fShowMapScreenMovementList )
|
||||
if ( (bSelectedDestChar != -1) || fPlotForHelicopter || fPlotForMilitia || gfInConfirmMapMoveMode || fShowMapScreenMovementList )
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
@@ -1680,7 +1680,7 @@ BOOLEAN CommonTimeCompressionChecks( void )
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
if( ( bSelectedDestChar != -1 ) || ( fPlotForHelicopter == TRUE ) )
|
||||
if ( (bSelectedDestChar != -1) || fPlotForHelicopter || fPlotForMilitia )
|
||||
{
|
||||
// abort plotting movement
|
||||
AbortMovementPlottingMode( );
|
||||
@@ -1700,7 +1700,6 @@ BOOLEAN AnyUsableRealMercenariesOnTeam( void )
|
||||
SOLDIERTYPE *pSoldier = NULL;
|
||||
INT32 iCounter = 0, iNumberOnTeam = 0;
|
||||
|
||||
|
||||
// this is for speed, this runs once/frame
|
||||
iNumberOnTeam = gTacticalStatus.Team[ OUR_TEAM ].bLastID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user