mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core/World: Remove unused config CONFIG_SIGHT_GUARDER
(cherry picked from commit ca231cba0b)
This commit is contained in:
@@ -730,9 +730,8 @@ void World::LoadConfigSettings(bool reload)
|
||||
m_float_configs[CONFIG_GROUP_XP_DISTANCE] = sConfigMgr->GetFloatDefault("MaxGroupXPDistance", 74.0f);
|
||||
m_float_configs[CONFIG_MAX_RECRUIT_A_FRIEND_DISTANCE] = sConfigMgr->GetFloatDefault("MaxRecruitAFriendBonusDistance", 100.0f);
|
||||
|
||||
/// @todo Add MonsterSight and GuarderSight (with meaning) in worldserver.conf or put them as define
|
||||
/// @todo Add MonsterSight (with meaning) in worldserver.conf or put them as define
|
||||
m_float_configs[CONFIG_SIGHT_MONSTER] = sConfigMgr->GetFloatDefault("MonsterSight", 50.0f);
|
||||
m_float_configs[CONFIG_SIGHT_GUARDER] = sConfigMgr->GetFloatDefault("GuarderSight", 50.0f);
|
||||
|
||||
if (reload)
|
||||
{
|
||||
|
||||
@@ -200,7 +200,6 @@ enum WorldFloatConfigs
|
||||
CONFIG_GROUP_XP_DISTANCE = 0,
|
||||
CONFIG_MAX_RECRUIT_A_FRIEND_DISTANCE,
|
||||
CONFIG_SIGHT_MONSTER,
|
||||
CONFIG_SIGHT_GUARDER,
|
||||
CONFIG_LISTEN_RANGE_SAY,
|
||||
CONFIG_LISTEN_RANGE_TEXTEMOTE,
|
||||
CONFIG_LISTEN_RANGE_YELL,
|
||||
|
||||
Reference in New Issue
Block a user