Once again, take srand()/random() out of the initialization chain.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index 6cfc411fdd79651cc1aa3d49b0d8de4163f89fc7..ba7df1aee1c7bc01283c09ad21f2cc0d00f0b044 100644 (file)
--- a/main.c
+++ b/main.c
@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
        lcgstate.a = 1093;
        lcgstate.c = 221587;
        lcgstate.m = 1048576;
-       set_seed_from_time();
+       set_seed((long)time(NULL));
 
 /*  Read the database if we have not yet done so */