Clock Semaphore is now created with a value of '0' -PhracturedBlue
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@471 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -264,6 +264,9 @@ InitGlobData (void)
|
||||
GLOBAL (glob_flags) = (BYTE)i;
|
||||
|
||||
GLOBAL (DisplayArray) = DisplayArray;
|
||||
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(1, "Clock");
|
||||
// The clock semaphore was initially initialized as '1'
|
||||
// but it is always cleared before set, so it toggled between
|
||||
// 2 and 1, which doesn't actually do anything
|
||||
(GLOBAL (GameClock)).clock_sem = CreateSemaphore(0, "Clock");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user