Reverted old fix, properly initialize the sleep timer now

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1131 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-08-27 04:40:44 +00:00
parent 9652af31ef
commit 6fd6f8b9f3
+5 -1
View File
@@ -1951,6 +1951,8 @@ PlanetSide (PMENU_STATE pMS)
InitPlanetSide ();
TimeIn = GetTimeCounter ();
pSolarSysState->MenuState.flash_rect1.corner.x = LOWORD (TimeIn);
pSolarSysState->MenuState.flash_rect1.corner.y = HIWORD (TimeIn);
for (index = 0; index <= NUM_LANDING_DELTAS; ++index)
{
if (index == 0)
@@ -1958,8 +1960,10 @@ PlanetSide (PMENU_STATE pMS)
else
TimeIn += ONE_SECOND / 60;
do
{
ScrollPlanetSide (0, 0, index);
SleepThreadUntil (TimeIn);
} while (GetTimeCounter () < TimeIn);
}
PSD.InTransit = FALSE;