Last subtitle no longer reappears when pausing/resuming game in dialog

response choices (bug #326), from chmmravatar


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@935 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-25 19:14:53 +00:00
parent 3e51f288ab
commit 6db458b06f
+7 -1
View File
@@ -144,6 +144,7 @@ PauseGame (void)
CONTEXT OldContext;
FRAME F;
HOT_SPOT OldHot;
extern int do_subtitles (UNICODE *pStr);
if (ActivityFrame == 0
|| (GLOBAL (CurrentActivity) & (CHECK_ABORT | CHECK_PAUSE))
@@ -194,12 +195,17 @@ PauseGame (void)
WaitForNoInput (ONE_SECOND / 4);
FlushInput ();
ClearSemaphore (GraphicsSem);
if (LOBYTE (GLOBAL (CurrentActivity)) != SUPER_MELEE)
ResumeGameClock ();
if (CommData.ConversationPhrases && PlayingTrack ())
{
ResumeTrack ();
if (CommData.AlienTransitionDesc.AnimFlags & TALK_DONE)
do_subtitles ((void *)~0);
}
ClearSemaphore (GraphicsSem);
TaskSwitch ();
GLOBAL (CurrentActivity) &= ~CHECK_PAUSE;