Skip to content
Snippets Groups Projects
Commit 5f30904d authored by Dmitry Zaporozhan's avatar Dmitry Zaporozhan
Browse files

Fixed Windows build.

--HG--
branch : product-engine
parent 6508b4f1
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment