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

Fix NO_CUSTOM_LEVELS builds breaking after command-line playtesting

This commit is contained in:
Misa 2020-04-15 16:51:58 -07:00 committed by Ethan Lee
parent b835ce3927
commit 4ace8d15be

View file

@ -273,6 +273,7 @@ int main(int argc, char *argv[])
obj.init(); obj.init();
#if !defined(NO_CUSTOM_LEVELS)
if (startinplaytest) { if (startinplaytest) {
game.levelpage = 0; game.levelpage = 0;
game.playcustomlevel = 0; game.playcustomlevel = 0;
@ -307,6 +308,7 @@ int main(int argc, char *argv[])
graphics.fademode = 0; graphics.fademode = 0;
} }
#endif
volatile Uint32 time, timePrev = 0; volatile Uint32 time, timePrev = 0;
game.infocus = true; game.infocus = true;