mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 05:45:35 +00:00
explicitely use a reference, auto can't infer it and make a copy
This commit is contained in:
parent
1d03b46422
commit
899b8422fa
1 changed files with 1 additions and 1 deletions
|
@ -1496,7 +1496,7 @@ namespace MWWorld
|
||||||
|
|
||||||
mProjectileManager->update(duration);
|
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();
|
mProjectileManager->processHits();
|
||||||
mDiscardMovements = false;
|
mDiscardMovements = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue