[7647] Fixed typo in option StartHonorPoints default value set at error.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
zhanhang03 2009-04-11 09:16:50 +04:00 committed by VladimirMangos
parent c64bbffdd1
commit 55e1cc16d1
2 changed files with 2 additions and 2 deletions

View file

@ -721,7 +721,7 @@ void World::LoadConfigSettings(bool reload)
{
sLog.outError("StartHonorPoints (%i) must be in range 0..MaxHonorPoints(%u). Set to %u.",
m_configs[CONFIG_START_HONOR_POINTS],m_configs[CONFIG_MAX_HONOR_POINTS],0);
m_configs[CONFIG_MAX_HONOR_POINTS] = 0;
m_configs[CONFIG_START_HONOR_POINTS] = 0;
}
else if(m_configs[CONFIG_START_HONOR_POINTS] > m_configs[CONFIG_MAX_HONOR_POINTS])
{