mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix: Auto weapons (expert) could not be selected during IMP creation
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7759 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -521,7 +521,7 @@ void HandleIMPSkillTraitAnswers( UINT32 uiSkillPressed, BOOLEAN fSecondTrait )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if cannot have expert level of skill, don't continue
|
// if cannot have expert level of skill, don't continue
|
||||||
else if ( gfSkillTraitQuestions2[uiSkillPressed] && !TwoStagedTrait( uiSkillPressed ) )
|
else if ( gfSkillTraitQuestions2[uiSkillPressed] && !TwoStagedTrait( gGameOptions.fNewTraitSystem ? gusNewMajorTraitRemap[uiSkillPressed] : uiSkillPressed ) )
|
||||||
{
|
{
|
||||||
//dont need to do anything
|
//dont need to do anything
|
||||||
return;
|
return;
|
||||||
@@ -635,7 +635,7 @@ void HandleIMPSkillTraitAnswers( UINT32 uiSkillPressed, BOOLEAN fSecondTrait )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if cannot have expert level of skill, don't continue
|
// if cannot have expert level of skill, don't continue
|
||||||
else if ( gfSkillTraitQuestions[uiSkillPressed] && !TwoStagedTrait( uiSkillPressed ) )
|
else if ( gfSkillTraitQuestions[uiSkillPressed] && !TwoStagedTrait( gGameOptions.fNewTraitSystem ? gusNewMajorTraitRemap[uiSkillPressed] : uiSkillPressed ) )
|
||||||
{
|
{
|
||||||
//dont need to do anything
|
//dont need to do anything
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user