From 372655d86263396738cc30a06026a3e16579dc3b Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 14 Aug 2009 14:36:11 -0500 Subject: [PATCH] [8365] Small description clarify for new config option. Author: Fog --HG-- branch : trunk --- src/game/World.cpp | 3 +++ src/trinitycore/trinitycore.conf.dist | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/game/World.cpp b/src/game/World.cpp index e3be8c8420..e09aab24e4 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1019,7 +1019,10 @@ void World::LoadConfigSettings(bool reload) { // overwrite DB/old value if(clientCacheId > 0) + { m_configs[CONFIG_CLIENTCACHE_VERSION] = clientCacheId; + sLog.outString("Client cache version set to: %u", clientCacheId); + } else sLog.outError("ClientCacheVersion can't be negative %d, ignored.", clientCacheId); } diff --git a/src/trinitycore/trinitycore.conf.dist b/src/trinitycore/trinitycore.conf.dist index b2dec2148c..242f1f5293 100644 --- a/src/trinitycore/trinitycore.conf.dist +++ b/src/trinitycore/trinitycore.conf.dist @@ -713,10 +713,9 @@ ChatLogTimestamp = 0 # Default: 0 - recheck offhand slot weapon only at zone update # 1 - recheck offhand slot weapon at talent reset also # -# # ClientCacheVersion -# Client resets cache if WDB files' version is not equal to this value. -# Default: 0 (no real meaning) +# Client cache version for client cache data reset. Use any different from DB value and not recently used for triggering reset. +# Default: 0 (use DB value from world DB db_version.cache_id field) # # Event.Announce # Default: 0 (false)