diff options
author | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-07-04 00:48:26 +0300 |
---|---|---|
committer | Porteries Tristan <republicthunderbolt9@gmail.com> | 2015-07-04 00:48:26 +0300 |
commit | b997bda9f906ecd407796368e96f402abe6ea28f (patch) | |
tree | d0e2dac60cc50dab68445edf16cc6da929464ea8 /source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp | |
parent | 749f346ce077f9616a47c03cac03f8537274efc4 (diff) |
BGE: Fix T45259 collision sensor registration.
Diffstat (limited to 'source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp')
-rw-r--r-- | source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp index 82451e6a3ed..9b2a83c3e67 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp +++ b/source/gameengine/Physics/Bullet/CcdPhysicsEnvironment.cpp @@ -2242,7 +2242,7 @@ void CcdPhysicsEnvironment::AddTouchCallback(int response_class, PHY_ResponseCal bool CcdPhysicsEnvironment::RequestCollisionCallback(PHY_IPhysicsController* ctrl) { CcdPhysicsController* ccdCtrl = static_cast<CcdPhysicsController*>(ctrl); - return !ccdCtrl->Register(); + return ccdCtrl->Register(); } void CcdPhysicsEnvironment::CallbackTriggers() |