From 30d7571aad76af33ec388f4ff82f3c91ee85a93d Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 23 Jan 2016 20:32:37 +0100 Subject: [PATCH] Fixed: Compilation under Linux --HG-- branch : develop --- code/ryzom/client/src/client.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 27976895d..eabb1511c 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -107,6 +107,9 @@ void quitCrashReport () contReset(CrashCounterSock); } +// make it global if other classes/functions want to access to it +NLMISC::CCmdArgs Args; + //--------------------------------------------------- // MAIN : // Entry for the Application. @@ -143,9 +146,6 @@ INT_PTR CALLBACK MyDialogProc( HWND SlashScreen = NULL; HINSTANCE HInstance; -// make it global if other classes/functions want to access to it -NLMISC::CCmdArgs Args; - int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE /* hPrevInstance */, LPSTR cmdline, int /* nCmdShow */) #else int main(int argc, char **argv)