|
|
@ -19,6 +19,8 @@
|
|
|
|
#include "nel/misc/dynloadlib.h"
|
|
|
|
#include "nel/misc/dynloadlib.h"
|
|
|
|
#include "nel/misc/command.h"
|
|
|
|
#include "nel/misc/command.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <locale.h>
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef DEBUG_NEW
|
|
|
|
#ifdef DEBUG_NEW
|
|
|
|
#define new DEBUG_NEW
|
|
|
|
#define new DEBUG_NEW
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -85,6 +87,9 @@ void INelContext::contextReady()
|
|
|
|
_NelContext = this;
|
|
|
|
_NelContext = this;
|
|
|
|
*(_getInstance()) = this;
|
|
|
|
*(_getInstance()) = this;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// set numeric locale to C to avoid the use of decimal separators different of a dot
|
|
|
|
|
|
|
|
char *locale = setlocale(LC_NUMERIC, "C");
|
|
|
|
|
|
|
|
|
|
|
|
// register any pending thinks
|
|
|
|
// register any pending thinks
|
|
|
|
|
|
|
|
|
|
|
|
// register local instance counter in the global instance counter manager
|
|
|
|
// register local instance counter in the global instance counter manager
|
|
|
|