diff --git a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp index f06d3698..e9bfefb0 100644 --- a/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp +++ b/Code/GamePhysics/Implementation/PhysicsAPI_Impl.cpp @@ -28,7 +28,7 @@ namespace default: { // Apply CollisionResponse in pure gather pattern ICustomBody::State protoState; proto->GetState( protoState ); - ICustomBody::State deuterState; proto->GetState( deuterState ); + ICustomBody::State deuterState; deuter->GetState( deuterState ); Float4 protoG = protoState.GetLinearMomentum( worldPointOfContact ), deuterG = deuterState.GetLinearMomentum( worldPointOfContact );