summaryrefslogtreecommitdiff
path: root/src/modules/meta2d
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/meta2d')
-rw-r--r--src/modules/meta2d/meta2d.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/meta2d/meta2d.c b/src/modules/meta2d/meta2d.c
index 1ab444c..1bb8827 100644
--- a/src/modules/meta2d/meta2d.c
+++ b/src/modules/meta2d/meta2d.c
@@ -76,8 +76,8 @@ static til_module_context_t * meta2d_create_context(unsigned seed, unsigned tick
return NULL;
/* perlin noise is used for some organic-ish random movement of the balls */
- ctxt->din_a = din_new(10, 10, META2D_NUM_BALLS + 2);
- ctxt->din_b = din_new(10, 10, META2D_NUM_BALLS + 2);
+ ctxt->din_a = din_new(10, 10, META2D_NUM_BALLS + 2, seed);
+ ctxt->din_b = din_new(10, 10, META2D_NUM_BALLS + 2, seed);
for (int i = 0; i < META2D_NUM_BALLS; i++) {
meta2d_ball_t *ball = &ctxt->balls[i];
© All Rights Reserved