mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
* true and not true or - not true and not true and.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user