From d5c1d18ebf1c909cb50a31d6e6a807f4a360b10c Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 14 Nov 2015 19:28:36 +0100 Subject: [PATCH] Changed: Write revision and build date in crash logs --HG-- branch : develop --- code/ryzom/client/src/debug_client.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/debug_client.cpp b/code/ryzom/client/src/debug_client.cpp index 0af4207ae..79f8ae4a4 100644 --- a/code/ryzom/client/src/debug_client.cpp +++ b/code/ryzom/client/src/debug_client.cpp @@ -36,7 +36,7 @@ #include "user_entity.h" #include "view.h" #include "login.h" -#include "game_share/ryzom_version.h" +#include "user_agent.h" #include "interface_v3/interface_manager.h" #include "interface_v3/sphrase_manager.h" #include "entities.h" @@ -526,7 +526,7 @@ string getDebugInformation() str += toString("ConnectState: %s\n", NetMngr.getConnectionStateCStr()); str += toString("LocalAddress: %s\n", NetMngr.getAddress().asString().c_str()); str += toString("Language: %s\n", CI18N::getCurrentLanguageName().toString().c_str()); - str += toString("ClientVersion: "RYZOM_VERSION"\n"); + str += toString("ClientVersion: %s\n", getDebugVersion().c_str()); if (ClientCfg.R2Mode) { str += toString("PatchVersion: %s\n", R2ServerVersion.c_str());