1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00

Merge branch 'dontcrash' into 'master'

Fix #6208 (hopefully)

Closes #6208

See merge request OpenMW/openmw!1113
This commit is contained in:
Alexei Dobrohotov 2021-08-09 17:10:11 +00:00
commit 73e83fd3d8

View File

@ -279,6 +279,7 @@ namespace MWPhysics
std::unique_lock lock(mSimulationMutex);
mBudget.reset(mDefaultPhysicsDt);
mAsyncBudget.reset(0.0f);
mActors.clear();
mActorsFrameData.clear();
for (const auto& [_, actor] : actors)
{