mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
- fixed: Shadow Warrior: End sequence was still 'hung'
This commit is contained in:
parent
a2b7aa18d1
commit
1c8c2543cb
2 changed files with 5 additions and 4 deletions
|
@ -313,6 +313,9 @@ playanm(short anim_num)
|
||||||
|
|
||||||
rotatesprite(0 << 16, 0 << 16, 65536L, 512, ANIM_TILE(ANIMnum), 0, 0, 2 + 4 + 8 + 16 + 64, 0, 0, xdim - 1, ydim - 1);
|
rotatesprite(0 << 16, 0 << 16, 65536L, 512, ANIM_TILE(ANIMnum), 0, 0, 2 + 4 + 8 + 16 + 64, 0, 0, xdim - 1, ydim - 1);
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
|
handleevents();
|
||||||
|
if (inputState.CheckAllInput())
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pause on final frame
|
// pause on final frame
|
||||||
|
|
|
@ -1548,7 +1548,7 @@ void CreditsLevel(void)
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
curpic = CREDITS1_PIC;
|
curpic = CREDITS1_PIC;
|
||||||
|
|
||||||
while (TRUE)
|
while (!inputState.CheckAllInput())
|
||||||
{
|
{
|
||||||
// taken from top of faketimerhandler
|
// taken from top of faketimerhandler
|
||||||
// limits checks to max of 40 times a second
|
// limits checks to max of 40 times a second
|
||||||
|
@ -1572,9 +1572,7 @@ void CreditsLevel(void)
|
||||||
timer = 0;
|
timer = 0;
|
||||||
curpic = CREDITS1_PIC;
|
curpic = CREDITS1_PIC;
|
||||||
}
|
}
|
||||||
|
handleevents();
|
||||||
if (inputState.CheckAllInput())
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// put up a blank screen while loading
|
// put up a blank screen while loading
|
||||||
|
|
Loading…
Reference in a new issue