diff --git a/src/Client/System/NEApplication.cpp b/src/Client/System/NEApplication.cpp index ddf6b97..b6de0ae 100644 --- a/src/Client/System/NEApplication.cpp +++ b/src/Client/System/NEApplication.cpp @@ -5,11 +5,17 @@ #include #include #include +#include #include #include #include #include +#ifdef WOS_WINDOWS +# include +# undef MessageBox +#endif + std::string NEApplication::getGameDirectory() const { return gameDirectory; @@ -85,6 +91,10 @@ bool NEApplication::chooseGameDirectory() int NEApplication::init(const std::vector& args) { +#ifdef WOS_WINDOWS + FreeConsole(); +#endif + resourceDirectory = "."; gameDirectory = ".";