mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/World: Remove unused config CONFIG_SIGHT_GUARDER
This commit is contained in:
@@ -659,9 +659,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)
|
||||
{
|
||||
|
||||
@@ -183,7 +183,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