mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- Exhumed: fixed time values for Ramses text scroll.
This commit is contained in:
parent
72771aeb40
commit
0b399fb384
2 changed files with 2 additions and 3 deletions
|
@ -884,7 +884,6 @@ bool TextOverlay::AdvanceCinemaText(double clock)
|
|||
if (nHeight + nCrawlY > 0 || CDplaying())
|
||||
{
|
||||
nCrawlY-= (clock - lastclock) / 15.; // do proper interpolation.
|
||||
Printf("Scroll: crawlY = %f, clock = %f, time = %f, real time = %u\n", nCrawlY, clock, lastclock - clock, I_msTime());
|
||||
lastclock = clock;
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -423,7 +423,7 @@ void DrawView(double smoothRatio, bool sceneonly)
|
|||
|
||||
if (bSubTitles)
|
||||
{
|
||||
subtitleOverlay.Start(I_GetTimeNS());
|
||||
subtitleOverlay.Start(I_GetTimeNS() * (120. / 1'000'000'000));
|
||||
if (currentLevel->levelNumber == 1)
|
||||
subtitleOverlay.ReadyCinemaText(1);
|
||||
else
|
||||
|
@ -433,7 +433,7 @@ void DrawView(double smoothRatio, bool sceneonly)
|
|||
}
|
||||
else if (nHeadStage == 5)
|
||||
{
|
||||
if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(I_GetTimeNS())) || inputState.CheckAllInput())
|
||||
if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(I_GetTimeNS() * (120. / 1'000'000'000))) || inputState.CheckAllInput())
|
||||
{
|
||||
inputState.ClearAllInput();
|
||||
EndLevel = 1;
|
||||
|
|
Loading…
Reference in a new issue