diff options
| -rw-r--r-- | indra/newview/llagentui.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/indra/newview/llagentui.cpp b/indra/newview/llagentui.cpp index 41c8066aca..2911a35581 100644 --- a/indra/newview/llagentui.cpp +++ b/indra/newview/llagentui.cpp @@ -92,8 +92,8 @@ std::string LLAgentUI::buildSLURL(const bool escaped /*= true*/)  //static  BOOL LLAgentUI::checkAgentDistance(const LLVector3& pole, F32 radius)  { -	S32 delta_x = gAgent.getPositionAgent().mV[VX] - pole.mV[VX]; -	S32 delta_y = gAgent.getPositionAgent().mV[VY] - pole.mV[VY]; +	F32 delta_x = gAgent.getPositionAgent().mV[VX] - pole.mV[VX]; +	F32 delta_y = gAgent.getPositionAgent().mV[VY] - pole.mV[VY];  	return  sqrt( delta_x* delta_x + delta_y* delta_y ) < radius;  } | 
