mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Move returning to pause menu code to separate function
This code is getting a bit more complicated now, we should maybe stop copy-pasting it everywhere.
This commit is contained in:
@@ -7755,3 +7755,11 @@ void Game::returntoeditor()
|
||||
map.scrolldir = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void Game::returntopausemenu()
|
||||
{
|
||||
ingame_titlemode = false;
|
||||
returntomenu(kludge_ingametemp);
|
||||
gamestate = MAPMODE;
|
||||
map.kludge_to_bg();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user