(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
|
@ -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);*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue