mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 13:09:42 +00:00
Discard momentum upon teleportation (bug #6545)
This commit is contained in:
parent
9a4df75f3c
commit
bccdefd63f
2 changed files with 4 additions and 0 deletions
|
@ -118,6 +118,7 @@
|
|||
Bug #6519: Effects tooltips for ingredients work incorrectly
|
||||
Bug #6523: Disintegrate Weapon is resisted by Resist Magicka instead of Sanctuary
|
||||
Bug #6544: Far from world origin objects jitter when camera is still
|
||||
Bug #6545: Player character momentum is preserved when going to a different cell
|
||||
Bug #6559: Weapon condition inconsistency between melee and ranged critical / sneak / KO attacks
|
||||
Bug #6579: OpenMW compilation error when using OSG doubles for BoundingSphere
|
||||
Bug #6606: Quests with multiple IDs cannot always be restarted
|
||||
|
|
|
@ -699,7 +699,10 @@ namespace MWPhysics
|
|||
void PhysicsSystem::clearQueuedMovement()
|
||||
{
|
||||
for (const auto& [_, actor] : mActors)
|
||||
{
|
||||
actor->setVelocity(osg::Vec3f());
|
||||
actor->setInertialForce(osg::Vec3f());
|
||||
}
|
||||
}
|
||||
|
||||
std::vector<Simulation> PhysicsSystem::prepareSimulation(bool willSimulate)
|
||||
|
|
Loading…
Reference in a new issue