mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Default to 1st kit if deciding not to buy gear in UB
1st one is included in the hiring fee
This commit is contained in:
+12
-1
@@ -1840,11 +1840,22 @@ void MercWeaponKitSelectionUpdate(UINT8 selectedInventory)
|
|||||||
void MercHireButtonGearYesNoCallback (UINT8 bExitValue)
|
void MercHireButtonGearYesNoCallback (UINT8 bExitValue)
|
||||||
{
|
{
|
||||||
//yes, buy gear
|
//yes, buy gear
|
||||||
if( bExitValue == MSG_BOX_RETURN_YES )
|
if ( bExitValue == MSG_BOX_RETURN_YES )
|
||||||
|
{
|
||||||
fMercBuyEquipment = 1;
|
fMercBuyEquipment = 1;
|
||||||
|
}
|
||||||
//no, no gear
|
//no, no gear
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
#ifdef JA2UB
|
||||||
|
// Switch to the free, first kit
|
||||||
|
gSelectedMercKit = 0;
|
||||||
|
MercWeaponKitSelectionUpdate( gSelectedMercKit );
|
||||||
|
fMercBuyEquipment = 1;
|
||||||
|
#else
|
||||||
fMercBuyEquipment = 0;
|
fMercBuyEquipment = 0;
|
||||||
|
#endif // JA2UB
|
||||||
|
}
|
||||||
|
|
||||||
MercProcessHireAfterGear();
|
MercProcessHireAfterGear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user