diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-02-14 08:44:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 08:44:25 +0100 |
commit | 618324cd84d7d03aff4512298d9f012f3f956a8d (patch) | |
tree | f99984d539e04fa3d55d296fda00b54ff18848f6 | |
parent | f45fedaf9648c6691446eab94f69bb15cc0c21bc (diff) | |
parent | 899057c710dd7c0d70b5a788b86e66f99b65ec77 (diff) |
Merge pull request #57611 from TechnicalSoup/TechnicalSoup-patch-2
Cleanup of preprocessor directives in main.cpp
-rw-r--r-- | main/main.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/main.cpp b/main/main.cpp index 7cbafe37a3..38e380568d 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1195,11 +1195,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph if (editor) { packed_data->set_disabled(true); globals->set_disable_feature_overrides(true); - } -#endif - -#ifdef TOOLS_ENABLED - if (editor) { Engine::get_singleton()->set_editor_hint(true); main_args.push_back("--editor"); if (!init_windowed) { |