projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f3c2f
)
Inverted Wind particle's y-coordinate
author
Christoph Sommer
<mail@christoph-sommer.de>
Sun, 25 Jun 2006 14:13:06 +0000
(14:13 +0000)
committer
Christoph Sommer
<mail@christoph-sommer.de>
Sun, 25 Jun 2006 14:13:06 +0000
(14:13 +0000)
SVN-Revision: 3744
src/object/wind.cpp
patch
|
blob
|
history
diff --git
a/src/object/wind.cpp
b/src/object/wind.cpp
index
a1265c5
..
60669aa
100644
(file)
--- a/
src/object/wind.cpp
+++ b/
src/object/wind.cpp
@@
-54,7
+54,7
@@
Wind::update(float elapsed_time)
if (systemRandom.rand(0, 100) < 20) {
// emit a particle
Vector ppos = Vector(systemRandom.randf(bbox.p1.x+8, bbox.p2.x-8), systemRandom.randf(bbox.p1.y+8, bbox.p2.y-8));
- Vector pspeed = Vector(speed.x,
-
speed.y);
+ Vector pspeed = Vector(speed.x, speed.y);
Sector::current()->add_object(new Particles(ppos, 44, 46, pspeed, Vector(0,0), 1, Color(.4, .4, .4), 3, .1, LAYER_BACKGROUNDTILES+1));
}
}