1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-25 22:18:30 +02:00

Add NO_CUSTOM_LEVELS guard around EDITORMODE in deltaloop()

Otherwise a NO_CUSTOM_LEVELS build would fail. Also I got rid of the
'graphics.flipmode = false;' in the fixed loop because I don't think it
does anything.
This commit is contained in:
Misa 2020-06-14 12:03:40 -07:00 committed by Ethan Lee
parent 867e7bc1e6
commit 7640f8cc8f

View File

@ -395,10 +395,12 @@ void deltaloop()
case PRELOADER:
preloaderrender();
break;
#if !defined(NO_CUSTOM_LEVELS)
case EDITORMODE:
graphics.flipmode = false;
editorrender();
break;
#endif
case TITLEMODE:
titlerender();
break;
@ -494,7 +496,6 @@ void fixedloop()
break;
#if !defined(NO_CUSTOM_LEVELS)
case EDITORMODE:
graphics.flipmode = false;
//Input
editorinput();
////Logic