mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Leave merc equipment to current sector in UB
This commit is contained in:
@@ -904,7 +904,16 @@ BOOLEAN BeginStrategicRemoveMerc( SOLDIERTYPE *pSoldier, BOOLEAN fAddRehireButto
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!is_networked)
|
if (!is_networked)
|
||||||
|
{
|
||||||
|
#ifdef JA2UB
|
||||||
|
// Leave equipment to merc's current sector by default in UB
|
||||||
|
HandleLeavingOfEquipmentInCurrentSector(pSoldier->ubID);
|
||||||
|
StrategicRemoveMerc(pSoldier);
|
||||||
|
pLeaveSoldier = NULL;
|
||||||
|
#else
|
||||||
NotifyPlayerOfMercDepartureAndPromptEquipmentPlacement( pSoldier, fAddRehireButton );
|
NotifyPlayerOfMercDepartureAndPromptEquipmentPlacement( pSoldier, fAddRehireButton );
|
||||||
|
#endif
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// WANNE - MP: Skip all the dialog boxes that appear. Just dismiss the merc
|
// WANNE - MP: Skip all the dialog boxes that appear. Just dismiss the merc
|
||||||
|
|||||||
Reference in New Issue
Block a user