summaryrefslogtreecommitdiff
path: root/scene/2d/particles_2d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/particles_2d.cpp')
-rw-r--r--scene/2d/particles_2d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/particles_2d.cpp b/scene/2d/particles_2d.cpp
index 5b13c32d93..ffea060e82 100644
--- a/scene/2d/particles_2d.cpp
+++ b/scene/2d/particles_2d.cpp
@@ -504,7 +504,7 @@ void Particles2D::_notification(int p_what) {
invxform=get_global_transform().affine_inverse();
int start_particle = (int)(time * (float)particle_count / lifetime);
-
+
for (int id=0;id<particle_count;++id) {
int i = start_particle + id;
if (i >= particle_count) {
@@ -645,7 +645,7 @@ static const char* _particlesframe_property_rnames[Particles2D::PARAM_MAX]={
"randomness/gravity_strength",
"randomness/radial_accel",
"randomness/tangential_accel",
- "randomness/damping",
+ "randomness/damping",
"randomness/initial_angle",
"randomness/initial_size",
"randomness/final_size",