remove unnecessary null check on _collisionEventPrim

0.7.2-post-fixes
Justin Clark-Casey (justincc) 2011-10-20 20:58:29 +01:00
parent ea5d1d0ff0
commit 36be226dc8
1 changed files with 0 additions and 3 deletions

View File

@ -2763,9 +2763,6 @@ Console.WriteLine("AddPhysicsActorTaint to " + taintedprim.Name);
{ {
foreach (PhysicsActor obj in _collisionEventPrim) foreach (PhysicsActor obj in _collisionEventPrim)
{ {
if (obj == null)
continue;
// m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName); // m_log.DebugFormat("[PHYSICS]: Assessing {0} for collision events", obj.SOPName);
switch ((ActorTypes)obj.PhysicsActorType) switch ((ActorTypes)obj.PhysicsActorType)