diff options
Diffstat (limited to 'csgo-loader/csgo-client/Client.cpp')
| -rw-r--r-- | csgo-loader/csgo-client/Client.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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<Networking::TCPClient>();
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;
|
