Remove redundant distance limitaion in llRezAtRoot

Fixes Mantis #3887
trunk
Melanie Thielker 2009-07-14 22:10:46 +00:00
parent 73251ed346
commit e53596f607
1 changed files with 0 additions and 5 deletions

View File

@ -2562,11 +2562,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); Vector3 llpos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z);
// test if we're further away then 10m
if (Util.GetDistanceTo(llpos, m_host.AbsolutePosition) > 10)
return; // wiki says, if it's further away then 10m, silently fail.
Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z); Vector3 llvel = new Vector3((float)vel.x, (float)vel.y, (float)vel.z);
// need the magnitude later // need the magnitude later