From bf7161cc8d07ea3ddb2e6168833c24e448707254 Mon Sep 17 00:00:00 2001 From: Erusman Date: Fri, 26 Jun 2020 19:33:37 -0700 Subject: [PATCH] fix to allow Swgclient to compile correctly in release and optimized builds --- .../application/SwgClient/src/win32/ClientMain.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/game/client/application/SwgClient/src/win32/ClientMain.cpp b/src/game/client/application/SwgClient/src/win32/ClientMain.cpp index 47f52b4a1..0a7f95720 100644 --- a/src/game/client/application/SwgClient/src/win32/ClientMain.cpp +++ b/src/game/client/application/SwgClient/src/win32/ClientMain.cpp @@ -80,9 +80,9 @@ #include "swgClientUserInterface/SwgCuiManager.h" #include "swgSharedNetworkMessages/SetupSwgSharedNetworkMessages.h" -#if DEBUG=0 + #include "libMozilla/libMozilla.h" -#endif + #include "Resource.h" @@ -311,7 +311,7 @@ int ClientMain( SetupClientGraphics::setupDefaultGameData(setupGraphicsData); -#if DEBUG=0 + // Mozilla // We want to use the Mozilla that's shipped with the game, not whatever's on the system char szCWD[_MAX_PATH + 1]; @@ -402,8 +402,7 @@ int ClientMain( if (semaphore) CloseHandle(semaphore); -# endif return 0; - } + } // ======================================================================