mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user