Notify the remote side when a ship is deleted from the fleet by pressing
the CANCEL button from the 'pick a ship' dialog. From Meep-Eep. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2623 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1686,7 +1686,6 @@ DoPickShip (PMELEE_STATE pMS)
|
|||||||
UnlockStarShip (&master_q, hStarShip);
|
UnlockStarShip (&master_q, hStarShip);
|
||||||
|
|
||||||
pMS->TeamImage[pMS->side].ShipList[index] = pMS->CurIndex;
|
pMS->TeamImage[pMS->side].ShipList[index] = pMS->CurIndex;
|
||||||
fleetShipChanged (pMS, pMS->side, index);
|
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
DrawTeamString (pMS, pMS->side, DTSHS_REPAIR);
|
DrawTeamString (pMS, pMS->side, DTSHS_REPAIR);
|
||||||
DrawShipBoxCurrent (pMS, FALSE);
|
DrawShipBoxCurrent (pMS, FALSE);
|
||||||
@@ -1703,6 +1702,7 @@ DoPickShip (PMELEE_STATE pMS)
|
|||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fleetShipChanged (pMS, pMS->side, index);
|
||||||
UpdateCurrentShip(pMS);
|
UpdateCurrentShip(pMS);
|
||||||
|
|
||||||
pMS->InputFunc = DoEdit;
|
pMS->InputFunc = DoEdit;
|
||||||
|
|||||||
Reference in New Issue
Block a user