(multifire, new): Reseeding the PRNG with the current time is not a
good idea. Letting players trigger it is an extraordinarily bad idea. Remove.
This commit is contained in:
parent
8ba9ca5869
commit
256724c39f
2 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue