Abstract returning-to-editor code to Game::returntoeditor()

This way I can easily move it around without moving around a bunch of
lines of code.
This commit is contained in:
Misa
2020-05-09 12:35:17 -07:00
committed by Ethan Lee
parent 915100b370
commit 51971fa84c
3 changed files with 32 additions and 21 deletions

View File

@@ -385,6 +385,10 @@ public:
int fadetomenudelay;
bool fadetolab;
int fadetolabdelay;
#if !defined(NO_CUSTOM_LEVELS)
void returntoeditor();
#endif
};
extern Game game;