From e627ccc8f83f6c7d258a2ce0705bb4081da8b1dd Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 5 Jan 2011 20:56:30 +0000 Subject: [PATCH] Fixed glitch in box emitters git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7279 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/graphics/particle_emitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/particle_emitter.cpp b/src/graphics/particle_emitter.cpp index 44d4a3993..3c564c2f5 100644 --- a/src/graphics/particle_emitter.cpp +++ b/src/graphics/particle_emitter.cpp @@ -82,7 +82,7 @@ ParticleEmitter::ParticleEmitter(ParticleKind* type, core::vector3df position, const float box_z = type->getBoxSizeZ()/2.0f; m_node->setPosition(core::vector3df(position.X + box_x, position.Y + box_y, position.Z + box_z)); m_emitter = m_node->createBoxEmitter(core::aabbox3df(-box_x, -box_y, -box_z, - box_x, box_x, box_x), + box_x, box_y, box_z), core::vector3df(0.0f, 0.0f, 0.0f), // velocity in m/ms type->getMinRate(), type->getMaxRate(), type->getMinColor(), type->getMaxColor(),