perlin: set random seed when initializing perlin noise

Fixing Bug 779900 - perlin noise is non-deterministic it doesn't use a fixed
random seed
parent 5c02256d
......@@ -166,6 +166,8 @@ perlin_init (void)
{
int i, j, k;
g_random_set_seed (1234567890);
for (i = 0; i < B; i++)
{
p[i] = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment