mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-02 23:42:21 +03: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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user