1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-07-01 00:48: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: case PRELOADER:
preloaderrender(); preloaderrender();
break; break;
#if !defined(NO_CUSTOM_LEVELS)
case EDITORMODE: case EDITORMODE:
graphics.flipmode = false; graphics.flipmode = false;
editorrender(); editorrender();
break; break;
#endif
case TITLEMODE: case TITLEMODE:
titlerender(); titlerender();
break; break;
@ -494,7 +496,6 @@ void fixedloop()
break; break;
#if !defined(NO_CUSTOM_LEVELS) #if !defined(NO_CUSTOM_LEVELS)
case EDITORMODE: case EDITORMODE:
graphics.flipmode = false;
//Input //Input
editorinput(); editorinput();
////Logic ////Logic