mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-03 22:15:34 +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);
|
||||
|
||||
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