Fix: New IMP gear selection method didn't include the Sidearm category so mercs could be left without a gun if their trait selection didn't include one.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7908 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
silversurfer
2015-07-09 16:19:47 +00:00
parent b8c3d26013
commit 1d8136aa06
+3
View File
@@ -601,6 +601,9 @@ void CalculatePossibleItems()
AddItemCategoryToPossibleGear(i);
}
// always add sidearms
AddItemCategoryToPossibleGear(IMP_SIDEARM);
//loop through all the buttons and reset them
for ( UINT8 uiCnt = 0; uiCnt< (gGameOptions.fNewTraitSystem ? IMP_SKILL_TRAITS_NEW_MAJOR_NONE : IMP_SKILL_TRAITS__NONE); ++uiCnt )
{