mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 19:45:40 +00:00
Merge branch 'refactor/6677-2' into 'master'
#6677: Cleanup stopMovement See merge request OpenMW/openmw!1730
This commit is contained in:
commit
a1034f8f9c
1 changed files with 3 additions and 2 deletions
|
@ -88,8 +88,9 @@ namespace MWMechanics
|
|||
|
||||
void stopMovement(const MWWorld::Ptr& actor)
|
||||
{
|
||||
actor.getClass().getMovementSettings(actor).mPosition[0] = 0;
|
||||
actor.getClass().getMovementSettings(actor).mPosition[1] = 0;
|
||||
auto& movementSettings = actor.getClass().getMovementSettings(actor);
|
||||
movementSettings.mPosition[0] = 0;
|
||||
movementSettings.mPosition[1] = 0;
|
||||
}
|
||||
|
||||
std::vector<unsigned char> getInitialIdle(const std::vector<unsigned char>& idle)
|
||||
|
|
Loading…
Reference in a new issue