Fixed an original bug which caused the Arilou task to be awaken way too
often. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1114 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -60,7 +60,7 @@ int arilou_gate_task(void* data)
|
||||
ClearSemaphore (GraphicsSem);
|
||||
|
||||
ClearSemaphore (GLOBAL (GameClock.clock_sem));
|
||||
SleepThreadUntil (TimeIn + BATTLE_FRAME_RATE);
|
||||
SleepThreadUntil (TimeIn + (ONE_SECOND / BATTLE_FRAME_RATE));
|
||||
TimeIn = GetTimeCounter ();
|
||||
}
|
||||
FinishTask (task);
|
||||
|
||||
Reference in New Issue
Block a user