diff --git a/code/ryzom/client/src/debug_client.cpp b/code/ryzom/client/src/debug_client.cpp index 79f8ae4a4..4d5dc3a1b 100644 --- a/code/ryzom/client/src/debug_client.cpp +++ b/code/ryzom/client/src/debug_client.cpp @@ -154,15 +154,15 @@ void flushDebugStack(const std::string &title) strTmp = toString("\n"); DebugFile.serialBuffer((uint8*)strTmp.c_str(), (uint)strTmp.size()); } - // No Output File -> nlwarning - else + // No Output File -> nldebug only if DisableNLDebug not set to true + else if (!DisableNLDebug) { - nlwarning("%s", title.c_str()); + nldebug("%s", title.c_str()); for(uint i=0; i