Fixed some lockup bugs (load/save, comm)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@94 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2002-10-02 07:39:31 +00:00
parent 4c52859bcc
commit 2a404fd64e
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -1381,7 +1381,9 @@ DoCommunication (INPUT_STATE InputState, PENCOUNTER_STATE pES)
if (pES->AnimTask)
{
Task_SetState (pES->AnimTask, TASK_EXIT);
ClearSemaphore (GraphicsSem);
ConcludeTask (pES->AnimTask);
SetSemaphore (GraphicsSem);
pES->AnimTask = 0;
}
CommData.AlienTransitionDesc.AnimFlags &= ~(TALK_INTRO | TALK_DONE);
+2
View File
@@ -1052,7 +1052,9 @@ SetFlashRect (PRECT pRect, FRAME f)
flash_rect.extent.width = 0;
if (flash_task)
{
ClearSemaphore (GraphicsSem);
ConcludeTask (flash_task);
SetSemaphore (GraphicsSem);
}
}
else