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)