mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 18:45:34 +00:00
Update moved objects in navigator
This commit is contained in:
parent
27d7452267
commit
8c08c3c7d6
1 changed files with 3 additions and 0 deletions
|
@ -1298,6 +1298,9 @@ namespace MWWorld
|
|||
{
|
||||
mPhysics->updatePosition(newPtr);
|
||||
mPhysics->updatePtr(ptr, newPtr);
|
||||
|
||||
if (const auto object = mPhysics->getObject(newPtr))
|
||||
updateNavigatorObject(object);
|
||||
}
|
||||
}
|
||||
if (isPlayer)
|
||||
|
|
Loading…
Reference in a new issue