From 5060102810f268e5ccdca4faa31e854e41ecb392 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 20 Dec 2015 19:10:33 +0100 Subject: [PATCH] Changed: Only display flushDebugStack messages if DisableNLDebug is not set --- code/ryzom/client/src/debug_client.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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