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:
parent
b835ce3927
commit
4ace8d15be
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue