* Remove debug console - it's now behind a GameMod

* Remove log counter.
This commit is contained in:
iProgramInCpp
2023-08-28 20:45:05 +03:00
parent 08aadb8535
commit d88e0a7643
4 changed files with 7 additions and 7 deletions

View File

@@ -123,13 +123,13 @@ void CheckOptionalTextureAvailability()
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
#ifdef _DEBUG
#if defined(_DEBUG) && defined(MOD_POPOUT_CONSOLE)
AllocConsole();
FILE* ostream;
FILE* istream;
freopen_s(&ostream, "CONOUT$", "w", stdout);
freopen_s(&istream, "CONIN$", "r", stdin);
SetConsoleTitle("Minecraft C++ Debug Console");
SetConsoleTitle("ReMinecraftPE Debug Console");
#endif
SetInstance(hInstance);