1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Remove unneeded tdrawback/backgrounddrawn assigns in returntopausemenu

Assigning these variables is now wholly unnecessary ever since #522 got
merged, and in fact setting graphics.backgrounddrawn to false actually
causes the warp background to "skip" when the map screen gets closed. So
this fixes that bug, too.
This commit is contained in:
Misa 2020-11-07 13:20:09 -08:00 committed by Ethan Lee
parent 5759408ded
commit 6f4e89e336

View file

@ -7146,8 +7146,6 @@ void Game::returntopausemenu()
ingame_titlemode = false;
returntomenu(kludge_ingametemp);
gamestate = MAPMODE;
graphics.titlebg.tdrawback = true;
graphics.backgrounddrawn = false;
mapheld = true;
graphics.flipmode = graphics.setflipmode;
if (!map.custommode && !graphics.flipmode)