[7395] Default MaxPlayerLevel should be 80 Author: multiplexer

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-07 10:40:59 -06:00
parent 814c6c2c39
commit e3fa93e75f
2 changed files with 3 additions and 3 deletions

View File

@@ -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)
{

View File

@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7394"
#define REVISION_NR "7395"
#endif // __REVISION_NR_H__