1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-09-27 16:57:25 +02:00

Fix mixed indentation in main.cpp

Also fix the indentation of preprocessor statements.
This commit is contained in:
Misa 2020-04-02 14:43:50 -07:00 committed by Ethan Lee
parent e73966f2b7
commit 9a3a8bf2be

View file

@ -32,8 +32,8 @@
scriptclass script;
#if !defined(NO_CUSTOM_LEVELS)
std::vector<edentities> edentity;
editorclass ed;
std::vector<edentities> edentity;
editorclass ed;
#endif
UtilityClass help;
@ -357,7 +357,7 @@ int main(int argc, char *argv[])
//Render
preloaderrender();
break;
#if !defined(NO_CUSTOM_LEVELS)
#if !defined(NO_CUSTOM_LEVELS)
case EDITORMODE:
graphics.flipmode = false;
//Input
@ -367,7 +367,7 @@ int main(int argc, char *argv[])
////Logic
editorlogic();
break;
#endif
#endif
case TITLEMODE:
//Input
titleinput();
@ -502,11 +502,11 @@ int main(int argc, char *argv[])
}
//Mute button
#if !defined(NO_CUSTOM_LEVELS)
#if !defined(NO_CUSTOM_LEVELS)
bool inEditor = ed.textentry || ed.scripthelppage == 1;
#else
#else
bool inEditor = false;
#endif
#endif
if (key.isDown(KEYBOARD_m) && game.mutebutton<=0 && !inEditor)
{
game.mutebutton = 8;