--- goom2k4-0/src/filters.c.orig 2014-09-24 23:48:51.020200000 +0500 | |
+++ goom2k4-0/src/filters.c 2014-09-24 23:48:56.059000000 +0500 | |
@@ -201,8 +201,8 @@ | |
/* Noise */ | |
if (data->noisify) | |
{ | |
- vx += (((float)random()) / ((float)RAND_MAX) - 0.5f) / 50.0f; | |
- vy += (((float)random()) / ((float)RAND_MAX) - 0.5f) / 50.0f; | |
+ vx += (((float)rand()) / ((float)RAND_MAX) - 0.5f) / 50.0f; | |
+ vy += (((float)rand()) / ((float)RAND_MAX) - 0.5f) / 50.0f; | |
} | |
/* Hypercos */ |