diff --git a/src/lib/commands/mfir.c b/src/lib/commands/mfir.c index 33c88bbd..aa2900b5 100644 --- a/src/lib/commands/mfir.c +++ b/src/lib/commands/mfir.c @@ -553,7 +553,6 @@ multifire(void) pr("Kaboom!!!\n"); prb = (double)(range2 ? (trange / range2) : 1.0); prb *= prb; - srandom(time(NULL)); if (chance(prb)) { pr("Wind deflects shell%s.\n", splur(shots)); /* dam = (int)((double)dam / 2.0);*/ diff --git a/src/lib/commands/new.c b/src/lib/commands/new.c index 7dcbe042..b864d98a 100644 --- a/src/lib/commands/new.c +++ b/src/lib/commands/new.c @@ -103,7 +103,6 @@ new(void) return RET_SYN; } } else { - srandom(time(NULL)); for (i = 0; i < 300 && !player->aborted; i++) { /* Both x and y should be either odd or even */ x = (random() % WORLD_X) - (WORLD_X / 2);