BGE: Fix T45259 collision sensor registration.

This commit is contained in:
Porteries Tristan 2015-07-03 23:48:26 +02:00
parent 749f346ce0
commit b997bda9f9
Notes: blender-bot 2023-02-14 08:56:51 +01:00
Referenced by issue #45259, Blender Game Engine Logic bricks material collision bug
1 changed files with 1 additions and 1 deletions

View File

@ -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()