From 41553cc679b0d4914c26abdb6d17a506b2cc1756 Mon Sep 17 00:00:00 2001 From: titiger Date: Wed, 8 Jan 2014 22:24:11 +0100 Subject: [PATCH] dumb bug writing mesh bound particle warnings all the time, even if not needed --- source/shared_lib/sources/graphics/particle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/graphics/particle.cpp b/source/shared_lib/sources/graphics/particle.cpp index d200e5ff5..155039579 100644 --- a/source/shared_lib/sources/graphics/particle.cpp +++ b/source/shared_lib/sources/graphics/particle.cpp @@ -1172,7 +1172,7 @@ void UnitParticleSystem::initParticle(Particle *p, int particleIndex){ combinedOffset.x+=verticepos->x; combinedOffset.y+=verticepos->y; combinedOffset.z+=verticepos->z; - foundMesh==true; + foundMesh=true; break; } }