From a83eb9baba3228c0b94231b274b81fabd01183dd Mon Sep 17 00:00:00 2001 From: Titus Tscharntke Date: Wed, 2 Oct 2013 22:19:17 +0000 Subject: [PATCH] size and sizeNoEnergy were int instead of float. Thats why there were no more particles anymore in some cases. --- source/glest_game/graphics/particle_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/glest_game/graphics/particle_type.h b/source/glest_game/graphics/particle_type.h index 2ab47aed4..d008d83ad 100644 --- a/source/glest_game/graphics/particle_type.h +++ b/source/glest_game/graphics/particle_type.h @@ -62,8 +62,8 @@ protected: Vec3f offset; Vec4f color; Vec4f colorNoEnergy; - int size; - int sizeNoEnergy; + float size; + float sizeNoEnergy; float speed; float gravity; int emissionRate;