diff options
| author | megamage <none@none> | 2009-04-25 12:53:23 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-04-25 12:53:23 -0500 |
| commit | 373914f1f96c7249df6bb9ced1ba27be44dfa676 (patch) | |
| tree | c8f4c645b0f15622d1e740d48be3ce5b0990dc43 /src | |
| parent | d003be414816b97c48f23ce3354231053c0df5ac (diff) | |
*Fix a typo in reading config file.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/World.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index fa7dfefd660..6e8e6d8b512 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -1006,7 +1006,7 @@ void World::LoadConfigSettings(bool reload) } m_MaxVisibleDistance = std::max(m_MaxVisibleDistanceForPlayer, m_MaxVisibleDistanceForCreature); - m_MaxVisibleDistanceForObject = sConfig.GetFloatDefault("Visibility.Distance.Gameobject", DEFAULT_VISIBILITY_DISTANCE); + m_MaxVisibleDistanceForObject = sConfig.GetFloatDefault("Visibility.Distance.Object", DEFAULT_VISIBILITY_DISTANCE); if(m_MaxVisibleDistanceForObject < INTERACTION_DISTANCE) { sLog.outError("Visibility.Distance.Object can't be less max aggro radius %f",float(INTERACTION_DISTANCE)); |
