From eb1c4755a28c2eaa26b3a247d10efe25454cd3ae Mon Sep 17 00:00:00 2001 From: mcmartin Date: Sun, 17 Dec 2006 06:28:22 +0000 Subject: [PATCH] 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 --- sc2/src/sc2code/melee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/melee.c b/sc2/src/sc2code/melee.c index 2414041a6..dc2b63f06 100644 --- a/sc2/src/sc2code/melee.c +++ b/sc2/src/sc2code/melee.c @@ -1686,7 +1686,6 @@ DoPickShip (PMELEE_STATE pMS) UnlockStarShip (&master_q, hStarShip); pMS->TeamImage[pMS->side].ShipList[index] = pMS->CurIndex; - fleetShipChanged (pMS, pMS->side, index); LockMutex (GraphicsLock); DrawTeamString (pMS, pMS->side, DTSHS_REPAIR); DrawShipBoxCurrent (pMS, FALSE); @@ -1703,6 +1702,7 @@ DoPickShip (PMELEE_STATE pMS) UnlockMutex (GraphicsLock); } + fleetShipChanged (pMS, pMS->side, index); UpdateCurrentShip(pMS); pMS->InputFunc = DoEdit;