Use _l_rand48(). in src/util/fairland.c
This commit is contained in:
parent
7cf3f0f6ca
commit
76e639fa86
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ Index: empserver/src/util/fairland.c
|
|||
#define max(a,b) (a>b?a:b)
|
||||
#endif
|
||||
-#define rnd(x) (random() % (x))
|
||||
+#define rnd(x) (rand48() % (x))
|
||||
+#define rnd(x) (lrand48() % (x))
|
||||
|
||||
int secs; /* number of sectors grown */
|
||||
int ctot; /* total number of continents and islands grown */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue