projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
#303: Typo fixes from mathnerd314
[supertux.git]
/
src
/
object
/
particlesystem_interactive.cpp
diff --git
a/src/object/particlesystem_interactive.cpp
b/src/object/particlesystem_interactive.cpp
index
0a45cb5
..
2d4a3c2
100644
(file)
--- 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();
void ParticleSystem_Interactive::draw(DrawingContext& context)
{
context.push_transform();
-
+
std::vector<Particle*>::iterator i;
for(i = particles.begin(); i != particles.end(); ++i) {
Particle* particle = *i;
std::vector<Particle*>::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;
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);
}
}
}
}
}
}