From 2e14cd01f0f602a870109f42bccc087893b70734 Mon Sep 17 00:00:00 2001 From: avolkov Date: Wed, 18 Nov 2009 01:59:57 +0000 Subject: [PATCH] PlayingTrack() is now reliable enough that we do not need the extra hacky test git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3317 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/uqm/confirm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sc2/src/uqm/confirm.c b/sc2/src/uqm/confirm.c index c8df43e79..48ec35966 100644 --- a/sc2/src/uqm/confirm.c +++ b/sc2/src/uqm/confirm.c @@ -17,7 +17,6 @@ */ #include "controls.h" -#include "commglue.h" #include "colors.h" #include "settings.h" #include "setup.h" @@ -83,7 +82,7 @@ DoConfirmExit (void) { BOOLEAN result; - if (CommData.ConversationPhrases && PlayingTrack ()) + if (PlayingTrack ()) PauseTrack (); LockMutex (GraphicsLock); @@ -170,7 +169,7 @@ DoConfirmExit (void) } UnlockMutex (GraphicsLock); - if (CommData.ConversationPhrases && PlayingTrack ()) + if (PlayingTrack ()) ResumeTrack (); return (result);