Fixed some sporadic menu corruption if you deleted empty slots

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1026 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-07-06 00:13:41 +00:00
parent 81855180d0
commit 7bd1eda550
+7 -7
View File
@@ -1149,14 +1149,14 @@ DeleteCurrentShip (PMELEE_STATE pMS)
UnlockStarShip (&master_q, hStarShip);
pMS->TeamImage[pMS->side].ShipList[pMS->row][pMS->col] = (BYTE)~0;
SetSemaphore (GraphicsSem);
GetShipBox (&r, pMS->side, pMS->row, pMS->col);
RepairMeleeFrame (&r);
}
SetSemaphore (GraphicsSem);
GetShipBox (&r, pMS->side, pMS->row, pMS->col);
RepairMeleeFrame (&r);
DrawTeamString (pMS, 4);
ClearSemaphore (GraphicsSem);
DrawTeamString (pMS, 4);
ClearSemaphore (GraphicsSem);
}
}
static void