mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-07 19:23:49 +03:00
Use ref in weather iterators
This commit is contained in:
parent
e0e456c8db
commit
f7545612c9
3 changed files with 4 additions and 8 deletions
|
@ -417,7 +417,7 @@ namespace TEN::Renderer
|
|||
|
||||
void Renderer11::drawWeatherParticles(RenderView& view)
|
||||
{
|
||||
for (auto p : Weather.GetParticles())
|
||||
for (auto& p : Weather.GetParticles())
|
||||
{
|
||||
if (!p.Enabled)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue