mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Reuse existing player position
This commit is contained in:
parent
bba7beb0c5
commit
a9ae263acd
@ -511,8 +511,7 @@ namespace MWWorld
|
||||
if (mCurrentCell == nullptr)
|
||||
return;
|
||||
|
||||
const auto player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||
mNavigator.updatePlayerPosition(player.getRefData().getPosition().asVec3());
|
||||
mNavigator.updatePlayerPosition(pos);
|
||||
|
||||
if (!mCurrentCell->isExterior())
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user