summaryrefslogtreecommitdiffstats
path: root/games/phantasia/convert.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/phantasia/convert.c')
-rw-r--r--games/phantasia/convert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/phantasia/convert.c b/games/phantasia/convert.c
index b18c5e9..ace262a 100644
--- a/games/phantasia/convert.c
+++ b/games/phantasia/convert.c
@@ -56,7 +56,7 @@ FILE *oldcharac, *newcharac; /* to open old and new files */
exit(1);
}
- srandom((unsigned) time((long *) NULL)); /* prime random numbers */
+ srandomdev();
while (fread((char *) &Oldplayer, sizeof(struct oldplayer), 1, oldcharac) == 1)
/* read and convert old structures into new */
OpenPOWER on IntegriCloud