mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-05 09:26:30 +00:00
[Client] Fix position sync for falling actors
This commit is contained in:
parent
fb49b62753
commit
7f017217c7
1 changed files with 2 additions and 1 deletions
|
@ -98,7 +98,8 @@ void LocalActor::updatePosition(bool forceUpdate)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
posIsChanging = direction.pos[0] != 0 || direction.pos[1] != 0 || direction.pos[2] != 0 ||
|
posIsChanging = direction.pos[0] != 0 || direction.pos[1] != 0 || direction.pos[2] != 0 ||
|
||||||
direction.rot[0] != 0 || direction.rot[1] != 0 || direction.rot[2] != 0;
|
direction.rot[0] != 0 || direction.rot[1] != 0 || direction.rot[2] != 0 ||
|
||||||
|
!MWBase::Environment::get().getWorld()->isOnGround(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (forceUpdate || posIsChanging || posWasChanged)
|
if (forceUpdate || posIsChanging || posWasChanged)
|
||||||
|
|
Loading…
Reference in a new issue