From 3e90be56fcfc51e1b9cc59290122691e2b9ab8ca Mon Sep 17 00:00:00 2001 From: gewlitys Date: Fri, 30 May 2003 14:37:40 +0000 Subject: [PATCH] endtakes now work properly if used with --nosubtitles git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@973 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/credits.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc2/src/sc2code/credits.c b/sc2/src/sc2code/credits.c index 06dc22694..a095dc675 100644 --- a/sc2/src/sc2code/credits.c +++ b/sc2/src/sc2code/credits.c @@ -20,6 +20,7 @@ #include "libs/graphics/gfx_common.h" #include "libs/sound/sound_common.h" #include "oscill.h" +#include "options.h" //Added by Chris @@ -122,8 +123,10 @@ OutTakes (void) { RECT r; float oldvolume = speechVolumeScale; + BOOLEAN oldsubtitles = optSubtitles; speechVolumeScale = 0.0f; + optSubtitles = TRUE; sliderDisabled = TRUE; SetSemaphore (GraphicsSem); @@ -152,5 +155,6 @@ OutTakes (void) InitCommunication (ARILOU_CONVERSATION); speechVolumeScale = oldvolume; + optSubtitles = oldsubtitles; sliderDisabled = FALSE; }