[7814] Fixed typo in loading of Visibility.Distance.Object.

Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
XTZGZoReX 2009-05-12 17:39:53 +04:00 committed by AlexDereka
parent cf0e3c7a4b
commit 938a1e4096
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7813"
#define REVISION_NR "7814"
#endif // __REVISION_NR_H__