mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +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)
|
||||
{
|
||||
//yes, buy gear
|
||||
if( bExitValue == MSG_BOX_RETURN_YES )
|
||||
if ( bExitValue == MSG_BOX_RETURN_YES )
|
||||
{
|
||||
fMercBuyEquipment = 1;
|
||||
}
|
||||
//no, no gear
|
||||
else
|
||||
{
|
||||
#ifdef JA2UB
|
||||
// Switch to the free, first kit
|
||||
gSelectedMercKit = 0;
|
||||
MercWeaponKitSelectionUpdate( gSelectedMercKit );
|
||||
fMercBuyEquipment = 1;
|
||||
#else
|
||||
fMercBuyEquipment = 0;
|
||||
#endif // JA2UB
|
||||
}
|
||||
|
||||
MercProcessHireAfterGear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user