remove redundant check

LSLKeyTest
UbitUmarov 2016-07-25 08:45:15 +01:00
parent 1d507f8073
commit 67a32c91bb
1 changed files with 1 additions and 2 deletions

View File

@ -1724,8 +1724,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
case ActorTypes.Prim:
OdePrim pobj = (OdePrim)obj;
if (pobj.Body == IntPtr.Zero || (d.BodyIsEnabled(pobj.Body) && !pobj.m_outbounds))
if (!pobj.m_outbounds)
if (!pobj.m_outbounds && (pobj.Body == IntPtr.Zero || d.BodyIsEnabled(pobj.Body)))
{
pobj.AddCollisionFrameTime((int)(odetimestepMS));
pobj.SendCollisions();