1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 02:53:32 +02: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();
}
if (graphics.resumegamemode || graphics.menuoffset > 0)
if (graphics.resumegamemode || graphics.menuoffset > 0 || graphics.oldmenuoffset > 0)
{
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();
}