Use ref in weather iterators

This commit is contained in:
Lwmte 2021-11-10 20:37:27 +03:00
parent e0e456c8db
commit f7545612c9
3 changed files with 4 additions and 8 deletions

View file

@ -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;