Codestyle

This commit is contained in:
RaphaelIT7 2023-10-02 22:06:20 +02:00
parent 3cd50693d0
commit e242b53589
1 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,8 @@ bool JoltPhysicsPlayerController::WasFrozen()
static void CheckCollision( JoltPhysicsObject *pObject, JPH::CollideShapeCollector &ioCollector, JPH::BodyFilter &ioFilter )
{
if (!pObject->IsCollisionEnabled()) { return; } // If we have no collisions, we have nothing to check.
if ( !pObject->IsCollisionEnabled() )
return;
JPH::PhysicsSystem *pSystem = pObject->GetEnvironment()->GetPhysicsSystem();