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
This commit is contained in:
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…
Reference in New Issue