*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1653 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -212,6 +212,7 @@ UninitGameClock (void)
|
||||
GLOBAL (GameClock.clock_task) = 0;
|
||||
}
|
||||
DestroyMutex (clock_mutex);
|
||||
clock_mutex = NULL;
|
||||
|
||||
UninitQueue (&GLOBAL (GameClock.event_q));
|
||||
|
||||
@@ -221,6 +222,9 @@ UninitGameClock (void)
|
||||
void
|
||||
SuspendGameClock (void)
|
||||
{
|
||||
if (! clock_mutex)
|
||||
return;
|
||||
|
||||
LockMutex (clock_mutex);
|
||||
if (GameClockRunning ())
|
||||
{
|
||||
@@ -233,6 +237,9 @@ SuspendGameClock (void)
|
||||
void
|
||||
ResumeGameClock (void)
|
||||
{
|
||||
if (! clock_mutex)
|
||||
return;
|
||||
|
||||
LockMutex (clock_mutex);
|
||||
if (!GameClockRunning ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user