Reverting incorrect change. There was no bug.
Added some comments. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1115 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -31,6 +31,10 @@ enum
|
||||
OPENING
|
||||
};
|
||||
|
||||
// Open or close the periodically occuring QuasiSpace portal.
|
||||
// A seperate thread is always inside this function when the player
|
||||
// is in hyperspace. This thread awakens every BATTLE_FRAME_RATE seconds.
|
||||
// It then changes the appearant portal size when necessary.
|
||||
int arilou_gate_task(void* data)
|
||||
{
|
||||
BYTE counter;
|
||||
@@ -60,7 +64,7 @@ int arilou_gate_task(void* data)
|
||||
ClearSemaphore (GraphicsSem);
|
||||
|
||||
ClearSemaphore (GLOBAL (GameClock.clock_sem));
|
||||
SleepThreadUntil (TimeIn + (ONE_SECOND / BATTLE_FRAME_RATE));
|
||||
SleepThreadUntil (TimeIn + BATTLE_FRAME_RATE);
|
||||
TimeIn = GetTimeCounter ();
|
||||
}
|
||||
FinishTask (task);
|
||||
|
||||
Reference in New Issue
Block a user