- avoid larger time jumps in Ramses text scroll.

This commit is contained in:
Christoph Oelckers 2022-01-03 21:45:09 +01:00
parent ac3546bdaa
commit 78f02fbd55

View file

@ -381,7 +381,7 @@ bool TextOverlay::AdvanceCinemaText(double clock)
{
if (nHeight + nCrawlY > 0 || CDplaying())
{
nCrawlY-= (clock - lastclock) / 15.; // do proper interpolation.
nCrawlY-= min(clock - lastclock, 1.5) / 15.; // do proper interpolation.
lastclock = clock;
return true;
}