Taking out an assert in Farseer
This commit is contained in:
parent
b8786c2aaf
commit
c0d3f3b939
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user