[7395] Default MaxPlayerLevel should be 80

This commit is contained in:
multiplexer 2009-03-07 02:33:33 +01:00 committed by VladimirMangos
parent 42b5130931
commit 2159dee379
2 changed files with 3 additions and 3 deletions

View file

@ -663,12 +663,12 @@ void World::LoadConfigSettings(bool reload)
if(reload) if(reload)
{ {
uint32 val = sConfig.GetIntDefault("MaxPlayerLevel", 60); uint32 val = sConfig.GetIntDefault("MaxPlayerLevel", 80);
if(val!=m_configs[CONFIG_MAX_PLAYER_LEVEL]) if(val!=m_configs[CONFIG_MAX_PLAYER_LEVEL])
sLog.outError("MaxPlayerLevel option can't be changed at mangosd.conf reload, using current value (%u).",m_configs[CONFIG_MAX_PLAYER_LEVEL]); sLog.outError("MaxPlayerLevel option can't be changed at mangosd.conf reload, using current value (%u).",m_configs[CONFIG_MAX_PLAYER_LEVEL]);
} }
else 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) if(m_configs[CONFIG_MAX_PLAYER_LEVEL] > MAX_LEVEL)
{ {

View file

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