1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-10 19:09:45 +01:00

Fix off-by-one in menuoffrender interpolation

Otherwise, when you brought down the quit/pause/teleporter screen, it
would appear to cut off too early.
This commit is contained in:
Misa 2020-05-01 16:49:10 -07:00 committed by Ethan Lee
parent 11803b0229
commit a884bb1dc1

View file

@ -2382,7 +2382,7 @@ void maprender()
graphics.drawfade(); graphics.drawfade();
} }
if (graphics.resumegamemode || graphics.menuoffset > 0) if (graphics.resumegamemode || graphics.menuoffset > 0 || graphics.oldmenuoffset > 0)
{ {
graphics.menuoffrender(); graphics.menuoffrender();
} }
@ -2518,7 +2518,7 @@ void teleporterrender()
} }
if (graphics.resumegamemode || graphics.menuoffset > 0) if (graphics.resumegamemode || graphics.menuoffset > 0 || graphics.oldmenuoffset > 0)
{ {
graphics.menuoffrender(); graphics.menuoffrender();
} }