mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-06 17:05:04 +03:00
Fix mixed indentation in main.cpp
Also fix the indentation of preprocessor statements.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user