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:
meep-eep
2003-08-23 23:37:14 +00:00
parent 9a513da75c
commit 1976a86058
+5 -1
View File
@@ -31,6 +31,10 @@ enum
OPENING 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) int arilou_gate_task(void* data)
{ {
BYTE counter; BYTE counter;
@@ -60,7 +64,7 @@ int arilou_gate_task(void* data)
ClearSemaphore (GraphicsSem); ClearSemaphore (GraphicsSem);
ClearSemaphore (GLOBAL (GameClock.clock_sem)); ClearSemaphore (GLOBAL (GameClock.clock_sem));
SleepThreadUntil (TimeIn + (ONE_SECOND / BATTLE_FRAME_RATE)); SleepThreadUntil (TimeIn + BATTLE_FRAME_RATE);
TimeIn = GetTimeCounter (); TimeIn = GetTimeCounter ();
} }
FinishTask (task); FinishTask (task);