From 938a1e4096fba15029a7730816fded503278cea2 Mon Sep 17 00:00:00 2001 From: XTZGZoReX Date: Tue, 12 May 2009 17:39:53 +0400 Subject: [PATCH] [7814] Fixed typo in loading of Visibility.Distance.Object. Signed-off-by: AlexDereka --- 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 86cc58be2..da8766889 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -973,7 +973,7 @@ void World::LoadConfigSettings(bool reload) sLog.outError("Visibility.Distance.Player can't be greater %f",MAX_VISIBILITY_DISTANCE - m_VisibleUnitGreyDistance); m_MaxVisibleDistanceForPlayer = MAX_VISIBILITY_DISTANCE - m_VisibleUnitGreyDistance; } - 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)); diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 2c13ec78a..d40415776 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 "7813" + #define REVISION_NR "7814" #endif // __REVISION_NR_H__