mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-04 08:06:16 +03:00
Fix NO_CUSTOM_LEVELS builds breaking after command-line playtesting
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user