Once again, take srand()/random() out of the initialization chain.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index a3051ab9dd5e74cc69e3239e47ce11b27b33c456..616a57fcb8814dfc2cbc8314f8e470d2da39b6a2 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 */