Fixed a deadlock that blocked the system if you quit from the shipyard

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1030 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-07-06 05:49:42 +00:00
parent a9d78cae84
commit 66d523545c
+1 -1
View File
@@ -1277,8 +1277,8 @@ DoShipyard (PMENU_STATE pMS)
else if (cancel || (select && pMS->CurState == SHIPYARD_EXIT))
{
ExitShipyard:
SetSemaphore (GraphicsSem);
EndHangarAnim (pMS);
SetSemaphore (GraphicsSem);
DestroyDrawable (ReleaseDrawable (pMS->ModuleFrame));
pMS->ModuleFrame = 0;
pMS->CurFrame = 0;