summaryrefslogtreecommitdiff
path: root/scene/2d/particles_2d.h
diff options
context:
space:
mode:
authorFerenc Arn <tagcup@yahoo.com>2017-02-27 15:12:58 -0600
committerFerenc Arn <tagcup@yahoo.com>2017-02-27 15:36:17 -0600
commit67ef529113d59540a640659f0cce9adc0136ffb3 (patch)
treeb351068814cbd90a63cf827a96180dc621814014 /scene/2d/particles_2d.h
parent6fb164b34470fe4ad4719f3807def33574e6151a (diff)
Use the common PRNG in 2D particles code.
Replaces the custom PRNG used by 2D particles code with a wrapper for the PRNG located under core/math.
Diffstat (limited to 'scene/2d/particles_2d.h')
-rw-r--r--scene/2d/particles_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/particles_2d.h b/scene/2d/particles_2d.h
index a12683f376..c6ababe3be 100644
--- a/scene/2d/particles_2d.h
+++ b/scene/2d/particles_2d.h
@@ -127,7 +127,7 @@ private:
Vector2 velocity;
float rot;
float frame;
- uint32_t seed;
+ uint64_t seed;
Particle() { active=false; seed=123465789; rot=0; frame=0;}
};