From 5c8d35e484e5ef7d6c21f0b83a27a39db1c6aa87 Mon Sep 17 00:00:00 2001 From: Ricardo Quesada Date: Mon, 29 Feb 2016 14:02:21 -0800 Subject: [PATCH] removes dead code --- cocos/physics/CCPhysicsWorld.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/cocos/physics/CCPhysicsWorld.cpp b/cocos/physics/CCPhysicsWorld.cpp index 2105b8663e..7dc07e0cc7 100644 --- a/cocos/physics/CCPhysicsWorld.cpp +++ b/cocos/physics/CCPhysicsWorld.cpp @@ -108,13 +108,11 @@ cpBool PhysicsWorldCallback::collisionBeginCallbackFunc(cpArbiter *arb, struct c contact->_contactInfo = arb; return world->collisionBeginCallback(*contact); - return true; } cpBool PhysicsWorldCallback::collisionPreSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world) { return world->collisionPreSolveCallback(*static_cast(cpArbiterGetUserData(arb))); - return true; } void PhysicsWorldCallback::collisionPostSolveCallbackFunc(cpArbiter *arb, cpSpace *space, PhysicsWorld *world)