X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fparticlesystem_interactive.cpp;h=2d4a3c2ee1104fbcea21038995416dab069d71c0;hb=08ccb17345a52f5ffd8a5dd6ecf675cad55f16a7;hp=0a45cb53cf7c2b7aff29c27f7606a8d6b7ac9681;hpb=011924797f070a383d5010f53cb90b04b4c124a1;p=supertux.git diff --git a/src/object/particlesystem_interactive.cpp b/src/object/particlesystem_interactive.cpp index 0a45cb53c..2d4a3c2ee 100644 --- a/src/object/particlesystem_interactive.cpp +++ b/src/object/particlesystem_interactive.cpp @@ -61,7 +61,7 @@ ParticleSystem_Interactive::~ParticleSystem_Interactive() void ParticleSystem_Interactive::draw(DrawingContext& context) { context.push_transform(); - + std::vector::iterator i; for(i = particles.begin(); i != particles.end(); ++i) { Particle* particle = *i; @@ -121,7 +121,7 @@ ParticleSystem_Interactive::collision(Particle* object, Vector movement) if(intersects(dest, rect)) { if(tile->getAttributes() & Tile::WATER) water = true; - set_rectangle_rectangle_constraints(&constraints, dest, rect); + set_rectangle_rectangle_constraints(&constraints, dest, rect); } } }