mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 16:20:53 +00:00
Update moved objects in navigator
This commit is contained in:
parent
27d7452267
commit
8c08c3c7d6
@ -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…
x
Reference in New Issue
Block a user