From 00b271f265450850336c8bcfdacc8671dbc8406a Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 1 Jan 2019 20:53:10 +1300 Subject: yah --- csgo-loader/csgo-client/Client.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'csgo-loader/csgo-client/Client.cpp') diff --git a/csgo-loader/csgo-client/Client.cpp b/csgo-loader/csgo-client/Client.cpp index d752732..10e8012 100644 --- a/csgo-loader/csgo-client/Client.cpp +++ b/csgo-loader/csgo-client/Client.cpp @@ -32,7 +32,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) { - /*WRAP_IF_DEBUG*/(Utils::OpenConsole()); + WRAP_IF_DEBUG(Utils::OpenConsole()); /////////////////////////////////////////////////////////////// @@ -43,7 +43,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) { // Create a window, initialise DirectX context. if(!UserInterface->Start()) - ERROR_ASSERT("[000F:00001C00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001C00] Failed to initialize. Please contact an administrator.")); UserInterface->RunUiFrame(); }); WindowThread.detach(); @@ -52,12 +52,12 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) // Initialize the syscall manager. if(!Syscalls->Start()) - ERROR_ASSERT("[000F:00001B00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001B00] Failed to initialize. Please contact an administrator.")); // Initialize the runtime protection system. WRAP_IF_RELEASE( if(!Protection->Start()) - ERROR_ASSERT("[000F:00001A00] Failed to initialize. Please contact an administrator."); + ERROR_ASSERT(STR("[000F:00001A00] Failed to initialize. Please contact an administrator.")); ); // Wait for connection. @@ -67,7 +67,7 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) Networking::TCPClientPtr Client = std::make_unique(); if(!Client->Start(LOCAL_IP, SERVER_PORT)) - ERROR_ASSERT("[000F:0002A000] Server closed the connection unexpectedly."); + ERROR_ASSERT(STR("[000F:0002A000] Server closed the connection unexpectedly.")); // Allow the user to input their log-in data. UserInterface->m_Data.m_ExecutionState = UserExperience::EXECUTION_LOG_IN; -- cgit v1.2.3