mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Removed a Sleep I had accidentally left in ST_Heretic_Progress().
SVN r439 (trunk)
This commit is contained in:
parent
dbe2593500
commit
eb175d4f43
1 changed files with 1 additions and 2 deletions
|
@ -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 ();
|
||||||
|
|
Loading…
Reference in a new issue