mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +00:00
Cleanup stopMovement
This commit is contained in:
parent
9ff34da59e
commit
c3d02492df
@ -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…
x
Reference in New Issue
Block a user