* true and not true or - not true and not true and.

0.6.0-stable
Teravus Ovares 2008-06-06 13:33:45 +00:00
parent 7137b13498
commit 37373dbde2
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ namespace OpenSim.Region.Environment.Scenes
m_isChildAgent = false;
float posZLimit = (float)m_scene.GetLandHeight((int)pos.X, (int)pos.Y);
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;
}