From 55e1cc16d154022cccf6cd3e319a2e536b6a10d7 Mon Sep 17 00:00:00 2001 From: zhanhang03 Date: Sat, 11 Apr 2009 09:16:50 +0400 Subject: [PATCH] [7647] Fixed typo in option StartHonorPoints default value set at error. Signed-off-by: VladimirMangos --- src/game/World.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/World.cpp b/src/game/World.cpp index d79bc20ff..13c4a5c91 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -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]) { diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index c15ea39fc..aec655631 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7646" + #define REVISION_NR "7647" #endif // __REVISION_NR_H__