mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user