Use _l_rand48(). in src/util/fairland.c

This commit is contained in:
Marc Olzheim 2005-01-03 19:59:31 +00:00
parent 7cf3f0f6ca
commit 76e639fa86

View file

@ -376,7 +376,7 @@ Index: empserver/src/util/fairland.c
#define max(a,b) (a>b?a:b) #define max(a,b) (a>b?a:b)
#endif #endif
-#define rnd(x) (random() % (x)) -#define rnd(x) (random() % (x))
+#define rnd(x) (rand48() % (x)) +#define rnd(x) (lrand48() % (x))
int secs; /* number of sectors grown */ int secs; /* number of sectors grown */
int ctot; /* total number of continents and islands grown */ int ctot; /* total number of continents and islands grown */