aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/World.cpp3
-rw-r--r--src/trinitycore/trinitycore.conf.dist5
2 files changed, 5 insertions, 3 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp
index e3be8c8420c..e09aab24e44 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 b2dec2148cc..242f1f52933 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)