func_vehicle: unset any velocity applied to our driver, since they're sticking to us.

This commit is contained in:
Marco Cawthorne 2022-09-11 13:56:11 -07:00
parent 355a1a020e
commit 02a1218ee7
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 3 additions and 0 deletions

View File

@ -805,6 +805,9 @@ func_vehicle::RunVehiclePhysics(void)
}
PlayerUpdateFlags();
/* we want to null our drivers' velocity because they're sticking to us */
m_eDriver.velocity = [0,0,0];
}
angles[0] = Math_FixDelta(angles[0]);