listener: Fix a typo causing collision damage to be applied in full

There was a typo in vjolt_listener_contact.h where it would get the velocity of the first object twice, which was wrong, and this was causing damage to be applied in full
pull/32/head
Josh Dowell 7 months ago committed by Joshie
parent 6d81c04454
commit c9604f710f

@ -418,7 +418,7 @@ private:
// Unused...
, m_ContactSpeed( vec3_origin )
, m_Velocity0( pObject1->GetBody()->GetLinearVelocity() )
, m_Velocity1( pObject1->GetBody()->GetLinearVelocity() )
, m_Velocity1( pObject2->GetBody()->GetLinearVelocity() )
{
}

Loading…
Cancel
Save