mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Mobile Miltia improvements (by Moa)
- ja2_options.ini: MOBILE_MILITIA_MAX_ACTIVE_MODE, MOBILE_MILITIA_MAX_ACTIVE_MODIFIER - see: http://www.bears-pit.com/board/ubbthreads.php/topics/325103/2.html git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6544 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -15198,6 +15198,10 @@ BOOLEAN CanCharacterTrainMobileMilitia( SOLDIERTYPE *pSoldier )
|
||||
// return( FALSE );
|
||||
//}
|
||||
|
||||
|
||||
if ( 100 <= GetMobileMilitiaQuota( FALSE ) )
|
||||
return ( FALSE );
|
||||
|
||||
// If we've reached this, then all is well.
|
||||
return( TRUE );
|
||||
|
||||
@@ -15217,6 +15221,10 @@ BOOLEAN CanCharacterTrainMilitiaWithErrorReport( SOLDIERTYPE *pSoldier )
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
if ( 100 <= GetMobileMilitiaQuota( TRUE ) )
|
||||
return ( FALSE );
|
||||
|
||||
|
||||
///////////////////////////////
|
||||
// Test for required Leadership
|
||||
|
||||
|
||||
Reference in New Issue
Block a user