mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
Fix VHS effect speeding up with interpolation.
This commit is contained in:
parent
2733571d27
commit
426b089d1d
1 changed files with 2 additions and 2 deletions
|
@ -1176,8 +1176,8 @@ void V_DrawVhsEffect(boolean rewind)
|
||||||
if (rewind)
|
if (rewind)
|
||||||
V_DrawVhsEffect(false); // experimentation
|
V_DrawVhsEffect(false); // experimentation
|
||||||
|
|
||||||
upbary -= vid.dupy * (rewind ? 3 : 1.8f);
|
upbary -= FixedMul(vid.dupy * (rewind ? 3 : 1.8f), renderdeltatics);
|
||||||
downbary += vid.dupy * (rewind ? 2 : 1);
|
downbary += FixedMul(vid.dupy * (rewind ? 2 : 1), renderdeltatics);
|
||||||
if (upbary < -barsize) upbary = vid.height;
|
if (upbary < -barsize) upbary = vid.height;
|
||||||
if (downbary > vid.height) downbary = -barsize;
|
if (downbary > vid.height) downbary = -barsize;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue