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