mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-02 17:09:40 +00:00
Merge branch 'fixboats' into 'master'
Apply waterwalking even when bypassing physics simulation See merge request OpenMW/openmw!500
This commit is contained in:
commit
ddbfa5410d
1 changed files with 1 additions and 1 deletions
|
@ -935,7 +935,7 @@ namespace MWPhysics
|
|||
if (mMoveToWaterSurface)
|
||||
{
|
||||
mPosition.z() = mWaterlevel;
|
||||
mActorRaw->setPosition(mPosition);
|
||||
MWBase::Environment::get().getWorld()->moveObject(mActorRaw->getPtr(), mPosition.x(), mPosition.y(), mPosition.z());
|
||||
}
|
||||
mOldHeight = mPosition.z();
|
||||
mRefpos = mActorRaw->getPtr().getRefData().getPosition();
|
||||
|
|
Loading…
Reference in a new issue