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:
parent
11803b0229
commit
a884bb1dc1
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue