mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-30 15:11:31 +00:00
Merge branch 'lifetime' into 'master'
Maybe fix #6071 Closes #6071 See merge request OpenMW/openmw!1010
This commit is contained in:
commit
6475082095
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ namespace MWPhysics
|
|||
if (!mRemainingSteps)
|
||||
return;
|
||||
for (auto& data : mActorsFrameData)
|
||||
if (data.mActor.lock())
|
||||
if (const auto actor = data.mActor.lock())
|
||||
{
|
||||
std::unique_lock lock(mCollisionWorldMutex);
|
||||
MovementSolver::unstuck(data, mCollisionWorld);
|
||||
|
|
Loading…
Reference in a new issue