Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
Addressing conversation @043f184ff2cb074eb847a32ffdcc12c9142492e0 comments.
  • Loading branch information
Crayder committed Apr 27, 2016
1 parent 043f184 commit b05f47a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DynamicWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ int ColAndreasWorld::performRayTestExtraID(const btVector3& Start, const btVecto
{
ColAndreasObjectTracker* tracker = (ColAndreasObjectTracker*)RayCallback.m_collisionObject->getUserPointer();
data = tracker->extraData[type];
delete tracker;
}
else
data = -1;
Expand All @@ -115,7 +114,6 @@ int ColAndreasWorld::performRayTestID(const btVector3& Start, const btVector3& E
Result = RayCallback.m_hitPointWorld;
ColAndreasObjectTracker* tracker = (ColAndreasObjectTracker*)RayCallback.m_collisionObject->getUserPointer();
index = tracker->realIndex;
delete tracker;
return 1;
}
return 0;
Expand Down

0 comments on commit b05f47a

Please sign in to comment.