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:
@@ -1149,14 +1149,14 @@ DeleteCurrentShip (PMELEE_STATE pMS)
|
|||||||
UnlockStarShip (&master_q, hStarShip);
|
UnlockStarShip (&master_q, hStarShip);
|
||||||
|
|
||||||
pMS->TeamImage[pMS->side].ShipList[pMS->row][pMS->col] = (BYTE)~0;
|
pMS->TeamImage[pMS->side].ShipList[pMS->row][pMS->col] = (BYTE)~0;
|
||||||
|
}
|
||||||
SetSemaphore (GraphicsSem);
|
SetSemaphore (GraphicsSem);
|
||||||
GetShipBox (&r, pMS->side, pMS->row, pMS->col);
|
GetShipBox (&r, pMS->side, pMS->row, pMS->col);
|
||||||
RepairMeleeFrame (&r);
|
RepairMeleeFrame (&r);
|
||||||
|
|
||||||
|
DrawTeamString (pMS, 4);
|
||||||
|
ClearSemaphore (GraphicsSem);
|
||||||
|
|
||||||
DrawTeamString (pMS, 4);
|
|
||||||
ClearSemaphore (GraphicsSem);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user