Fix problem with subtitle caching (bug #322)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@928 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-23 17:46:30 +00:00
parent 26f15db429
commit fa94d1b905
+3 -1
View File
@@ -106,7 +106,7 @@ static int subtitle_state = DONE_SUBTITLE;
static Mutex subtitle_mutex;
int do_subtitles (UNICODE *pStr);
static UNICODE *last_subtitle;
static volatile UNICODE *last_subtitle;
static TFB_Image *subtitle_cache;
/* _count_lines - mostly stolen from add_text, just sees how many lines
@@ -744,6 +744,8 @@ RefreshResponses (PENCOUNTER_STATE pES)
static void
FeedbackPlayerPhrase (UNICODE *pStr)
{
last_subtitle = NULL;
SetContext (SpaceContext);
BatchGraphics ();