mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Merged from revision: 7197
Fixes (by Buggler) - Allow hotkey squad switching to include squads in vehicles as well - Fixed wrong sign used for bSpeedModifierTrainingMilitia and bSpeedModifierTeachingOthers - Fixed usMobileMilitiaTraining value not read causing mobile militia training speed to be doubled git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7198 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1935,7 +1935,7 @@ UINT8 FindBestMilitiaTrainingLeadershipInSector ( INT16 sMapX, INT16 sMapY, INT8
|
||||
if ( gGameOptions.fNewTraitSystem ) // SANDRO - old/new traits
|
||||
{
|
||||
// -10% penalty for untrained mercs
|
||||
usTrainerEffectiveLeadership = (usTrainerEffectiveLeadership * (100 - gSkillTraitValues.bSpeedModifierTrainingMilitia) / 100);
|
||||
usTrainerEffectiveLeadership = (usTrainerEffectiveLeadership * (100 + gSkillTraitValues.bSpeedModifierTrainingMilitia) / 100);
|
||||
|
||||
if (HAS_SKILL_TRAIT( pCheckedTrainer, TEACHING_NT ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user