mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 21:57:01 +01:00
[7395] Default MaxPlayerLevel should be 80 Author: multiplexer
--HG-- branch : trunk
This commit is contained in:
@@ -676,12 +676,12 @@ void World::LoadConfigSettings(bool reload)
|
||||
|
||||
if(reload)
|
||||
{
|
||||
uint32 val = sConfig.GetIntDefault("MaxPlayerLevel", 60);
|
||||
uint32 val = sConfig.GetIntDefault("MaxPlayerLevel", 80);
|
||||
if(val!=m_configs[CONFIG_MAX_PLAYER_LEVEL])
|
||||
sLog.outError("MaxPlayerLevel option can't be changed at config reload, using current value (%u).",m_configs[CONFIG_MAX_PLAYER_LEVEL]);
|
||||
}
|
||||
else
|
||||
m_configs[CONFIG_MAX_PLAYER_LEVEL] = sConfig.GetIntDefault("MaxPlayerLevel", 60);
|
||||
m_configs[CONFIG_MAX_PLAYER_LEVEL] = sConfig.GetIntDefault("MaxPlayerLevel", 80);
|
||||
|
||||
if(m_configs[CONFIG_MAX_PLAYER_LEVEL] > MAX_LEVEL)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user