mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Increase squad amount to 40
This commit is contained in:
+4
-4
@@ -269,7 +269,7 @@ void IMPGearDisplay( )
|
||||
gIMPGearGun1 = currentWeapon;
|
||||
|
||||
std::vector<std::pair<INT16, STR16> > entries;
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[40])); //Reusing AssignmentString for "Empty" text
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[60])); //Reusing AssignmentString for "Empty" text
|
||||
|
||||
if (Item[gIMPGearGun1].usItemClass & IC_GUN)
|
||||
{
|
||||
@@ -321,7 +321,7 @@ void IMPGearDisplay( )
|
||||
|
||||
|
||||
std::vector<std::pair<INT16, STR16> > entries;
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[40])); //Reusing AssignmentString for "Empty" text
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[60])); //Reusing AssignmentString for "Empty" text
|
||||
|
||||
|
||||
if (Item[gIMPGearGun2].usItemClass & IC_GUN)
|
||||
@@ -372,7 +372,7 @@ void IMPGearDisplay( )
|
||||
gIMPGearGun3 = currentWeapon;
|
||||
|
||||
std::vector<std::pair<INT16, STR16> > entries;
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[40])); //Reusing AssignmentString for "Empty" text
|
||||
entries.push_back(std::make_pair(0, pLongAssignmentStrings[60])); //Reusing AssignmentString for "Empty" text
|
||||
|
||||
if (Item[gIMPGearGun3].usItemClass & IC_GUN)
|
||||
{
|
||||
@@ -1272,7 +1272,7 @@ void DistributePossibleItemsToVectors(void)
|
||||
// it is always possible to not select something
|
||||
for (int i = 0; i < NUM_INV_SLOTS; ++i)
|
||||
{
|
||||
gIMPPossibleItems[i].push_back(std::make_pair(0, pLongAssignmentStrings[40])); //Reusing AssignmentString for "Empty" text
|
||||
gIMPPossibleItems[i].push_back(std::make_pair(0, pLongAssignmentStrings[60])); //Reusing AssignmentString for "Empty" text
|
||||
SetChoiceForPocket(i, 0, 1); // Initialize all selections to empty at first
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user