Permalink
Browse files

Disable console

  • Loading branch information...
codenulls committed Nov 16, 2018
1 parent 8471206 commit 41592d121a4b1cc207f962eb364bd7c8279f0250
Showing with 0 additions and 8 deletions.
  1. +0 −7 Client/core/Core.cpp
  2. +0 −1 Client/game_sa/CPoolsSA.h
@@ -30,13 +30,6 @@ int WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, PVOID pvNothing)
WriteDebugEvent(SString("DLL_PROCESS_ATTACH %08x", pvNothing));
if (IsGTAProcess())
{
if (AllocConsole())
{
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
}

WriteDebugEvent(SString("ModuleFileName: %s", *GetLaunchPathFilename()));

AddUtf8FileHooks();
@@ -181,7 +181,6 @@ class CPoolsSA : public CPools

SPoolData() : map(MAX), ulCount(0UL)
{
std::printf("max for CPoolSA: %u\n", MAX);
for (unsigned int i = 0; i < MAX; ++i)
{
arrayOfClientEntities[i] = { nullptr, nullptr };

0 comments on commit 41592d1

Please sign in to comment.