Taking out an assert in Farseer

This commit is contained in:
Nathan Adams 2012-05-18 00:26:32 -05:00
parent b8786c2aaf
commit c0d3f3b939

View File

@ -1096,7 +1096,7 @@ namespace FarseerPhysics.Dynamics
BodyType typeA = bA.BodyType; BodyType typeA = bA.BodyType;
BodyType typeB = bB.BodyType; BodyType typeB = bB.BodyType;
Debug.Assert(typeA == BodyType.Dynamic || typeB == BodyType.Dynamic); //Debug.Assert(typeA == BodyType.Dynamic || typeB == BodyType.Dynamic);
bool awakeA = bA.Awake && typeA != BodyType.Static; bool awakeA = bA.Awake && typeA != BodyType.Static;
bool awakeB = bB.Awake && typeB != BodyType.Static; bool awakeB = bB.Awake && typeB != BodyType.Static;