- Removed a Sleep I had accidentally left in ST_Heretic_Progress().

SVN r439 (trunk)
This commit is contained in:
Randy Heit 2007-01-06 04:10:51 +00:00
parent dbe2593500
commit eb175d4f43

View file

@ -721,7 +721,7 @@ static void ST_Heretic_Progress()
{ {
CurPos++; CurPos++;
notch_pos = (CurPos * ThermWidth) / MaxPos; notch_pos = (CurPos * ThermWidth) / MaxPos;
if (notch_pos != NotchPos && (!(notch_pos & 7) || CurPos == MaxPos)) if (notch_pos != NotchPos && !(notch_pos & 3))
{ // Time to draw another notch. { // Time to draw another notch.
int left = NotchPos + ThermX; int left = NotchPos + ThermX;
int top = ThermY; int top = ThermY;
@ -730,7 +730,6 @@ static void ST_Heretic_Progress()
ST_Util_ClearBlock (ST_Util_BitsForBitmap(StartupBitmap) + left + top * 320, THERM_COLOR, right - left, bottom - top, 320); ST_Util_ClearBlock (ST_Util_BitsForBitmap(StartupBitmap) + left + top * 320, THERM_COLOR, right - left, bottom - top, 320);
ST_Util_InvalidateRect (StartupScreen, StartupBitmap, left*2, top, right*2, bottom); ST_Util_InvalidateRect (StartupScreen, StartupBitmap, left*2, top, right*2, bottom);
NotchPos = notch_pos; NotchPos = notch_pos;
Sleep (20);
} }
} }
I_GetEvent (); I_GetEvent ();