diff --git a/src/client/component/auth.cpp b/src/client/component/auth.cpp index 4ebebd8f..f633f740 100644 --- a/src/client/component/auth.cpp +++ b/src/client/component/auth.cpp @@ -245,4 +245,4 @@ namespace auth }; } -//REGISTER_COMPONENT(auth::component) +REGISTER_COMPONENT(auth::component) diff --git a/src/client/component/colors.cpp b/src/client/component/colors.cpp index ec563b89..1487675b 100644 --- a/src/client/component/colors.cpp +++ b/src/client/component/colors.cpp @@ -179,4 +179,4 @@ namespace colors }; } -REGISTER_COMPONENT(colors::component) +//REGISTER_COMPONENT(colors::component) diff --git a/src/client/component/console.cpp b/src/client/component/console.cpp index 39f3f9dd..cfe8afef 100644 --- a/src/client/component/console.cpp +++ b/src/client/component/console.cpp @@ -16,12 +16,8 @@ namespace console { DWORD WINAPI console(LPVOID) { - FreeConsole(); - AllocConsole(); - AttachConsole(GetCurrentProcessId()); - - (void)freopen("CONIN$", "r", stdin); - (void)freopen("CONOUT$", "w", stdout); + ShowWindow(GetConsoleWindow(), SW_SHOW); + SetConsoleTitle("H1-Mod"); std::string cmd; diff --git a/src/client/component/input.cpp b/src/client/component/input.cpp index 023a317b..ad615b34 100644 --- a/src/client/component/input.cpp +++ b/src/client/component/input.cpp @@ -72,4 +72,4 @@ namespace input }; } -REGISTER_COMPONENT(input::component) +//REGISTER_COMPONENT(input::component) diff --git a/src/client/component/localized_strings.cpp b/src/client/component/localized_strings.cpp index e66fc692..cd9d4718 100644 --- a/src/client/component/localized_strings.cpp +++ b/src/client/component/localized_strings.cpp @@ -49,4 +49,4 @@ namespace localized_strings }; } -REGISTER_COMPONENT(localized_strings::component) +//REGISTER_COMPONENT(localized_strings::component)