From 059f3b77b476c41c438883a9cb0791e3f3f31d30 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 23 Jan 2016 20:33:28 +0100 Subject: [PATCH] Merge with 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)