1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-22 00:53:52 +00:00

Update physics object position after spawning.

This commit is contained in:
Frederic Chardon 2020-12-10 21:54:47 +01:00 committed by fredzio
parent 1d03b46422
commit 460e5abb55

View file

@ -253,7 +253,7 @@ namespace
bool operator() (const MWWorld::Ptr& ptr) bool operator() (const MWWorld::Ptr& ptr)
{ {
if (!ptr.getRefData().isDeleted() && ptr.getRefData().isEnabled()) if (!ptr.getRefData().isDeleted() && ptr.getRefData().isEnabled())
ptr.getClass().adjustPosition (ptr, false); ptr.getClass().adjustPosition (ptr, true);
return true; return true;
} }
}; };