From 36be226dc8977744b5bccadd234b489fe7e7ace6 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 20 Oct 2011 20:58:29 +0100 Subject: [PATCH] remove unnecessary null check on _collisionEventPrim --- OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 8cf95d0c13..a39425eada 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs @@ -2763,9 +2763,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name); { foreach (PhysicsActor obj in _collisionEventPrim) { - if (obj == null) - continue; - // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); switch ((ActorTypes)obj.PhysicsActorType)