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
This commit is contained in:
@@ -17,7 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "controls.h"
|
#include "controls.h"
|
||||||
#include "commglue.h"
|
|
||||||
#include "colors.h"
|
#include "colors.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "setup.h"
|
#include "setup.h"
|
||||||
@@ -83,7 +82,7 @@ DoConfirmExit (void)
|
|||||||
{
|
{
|
||||||
BOOLEAN result;
|
BOOLEAN result;
|
||||||
|
|
||||||
if (CommData.ConversationPhrases && PlayingTrack ())
|
if (PlayingTrack ())
|
||||||
PauseTrack ();
|
PauseTrack ();
|
||||||
|
|
||||||
LockMutex (GraphicsLock);
|
LockMutex (GraphicsLock);
|
||||||
@@ -170,7 +169,7 @@ DoConfirmExit (void)
|
|||||||
}
|
}
|
||||||
UnlockMutex (GraphicsLock);
|
UnlockMutex (GraphicsLock);
|
||||||
|
|
||||||
if (CommData.ConversationPhrases && PlayingTrack ())
|
if (PlayingTrack ())
|
||||||
ResumeTrack ();
|
ResumeTrack ();
|
||||||
|
|
||||||
return (result);
|
return (result);
|
||||||
|
|||||||
Reference in New Issue
Block a user