mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-31 14:07:38 +00:00
Merge branch 'dontcopysimulationresults' into 'master'
explicitely use a reference for physics simulation results to avoid a copy See merge request OpenMW/openmw!450
This commit is contained in:
commit
acd5109897
1 changed files with 1 additions and 1 deletions
|
@ -1496,7 +1496,7 @@ namespace MWWorld
|
|||
|
||||
mProjectileManager->update(duration);
|
||||
|
||||
const auto results = mPhysics->applyQueuedMovement(duration, mDiscardMovements, frameStart, frameNumber, stats);
|
||||
const auto& results = mPhysics->applyQueuedMovement(duration, mDiscardMovements, frameStart, frameNumber, stats);
|
||||
mProjectileManager->processHits();
|
||||
mDiscardMovements = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue