* true and not true or - not true and not true and.
parent
7137b13498
commit
37373dbde2
|
@ -594,7 +594,7 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
m_isChildAgent = false;
|
m_isChildAgent = false;
|
||||||
float posZLimit = (float)m_scene.GetLandHeight((int)pos.X, (int)pos.Y);
|
float posZLimit = (float)m_scene.GetLandHeight((int)pos.X, (int)pos.Y);
|
||||||
float newPosZ = posZLimit + m_avHeight;
|
float newPosZ = posZLimit + m_avHeight;
|
||||||
if (posZLimit >= (pos.Z -(m_avHeight/2)) && !(Single.IsInfinity(newPosZ) && Single.IsNaN(newPosZ)))
|
if (posZLimit >= (pos.Z -(m_avHeight/2)) && !(Single.IsInfinity(newPosZ) || Single.IsNaN(newPosZ)))
|
||||||
{
|
{
|
||||||
pos.Z = newPosZ;
|
pos.Z = newPosZ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue