From 8c31c16e4d4c752baaccd464cc73250ac3b5eb3b Mon Sep 17 00:00:00 2001 From: Robin Engman Date: Mon, 10 Feb 2014 11:21:57 +0100 Subject: [PATCH] Commented away --- Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp | 4 ++-- Code/GamePhysics/Implementation/SimpleRigidBody.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp index 4c07cc24..a71c58e3 100644 --- a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp +++ b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp @@ -129,8 +129,8 @@ void API_Impl::UpdateWorld() ICustomBody* bodyA = (ICustomBody*)obA->getUserPointer(); ICustomBody* bodyB = (ICustomBody*)obB->getUserPointer(); - dynamic_cast(bodyA)->CallSubsciptMessage(bodyA, bodyB, 0.0f); - dynamic_cast(bodyB)->CallSubsciptMessage(bodyB, bodyA, 0.0f); + //dynamic_cast(bodyA)->CallSubsciptMessage(bodyA, bodyB, 0.0f); + //dynamic_cast(bodyB)->CallSubsciptMessage(bodyB, bodyA, 0.0f); int numContacts = contactManifold->getNumContacts(); for (int j=0;jafterCollision(bodyA, bodyB, kineticEnergyLoss); } btDefaultMotionState* SimpleRigidBody::GetMotionState() const