diff options
author | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-11-03 12:30:09 +0200 |
---|---|---|
committer | Dmitry Zaporozhan <dzaporozhan@productengine.com> | 2009-11-03 12:30:09 +0200 |
commit | 5f30904db45c8cd3eec5506503128eaf3df4e429 (patch) | |
tree | af3d85728bad210ef637e014c037998f48c5a936 /indra/newview | |
parent | 6508b4f13fd056e6a4ddf1b9845829452a7c3599 (diff) |
Fixed Windows build.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-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; } |