From 30fe66d3ab534422407415817b570a66096c543b Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 20 Oct 2011 20:58:29 +0100 Subject: remove unnecessary null check on _collisionEventPrim --- OpenSim/Region/Physics/OdePlugin/OdeScene.cs | 3 --- 1 file changed, 3 deletions(-) (limited to 'OpenSim/Region/Physics') diff --git a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs index 1d0c699..09bccf9 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdeScene.cs @@ -2793,9 +2793,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) -- cgit v1.1