Fix random_jkiss initialization
The initialization function used another function which expected initialization to be done.
This commit is contained in:
@ -104,12 +104,6 @@ void random_jkiss_init(void)
|
|||||||
c = newrand % 698769068 + 1; /* Should be less than 698769069 */
|
c = newrand % 698769068 + 1; /* Should be less than 698769069 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* "Warm up" our random number generator */
|
|
||||||
for (i = 0; i < 100; i++)
|
|
||||||
{
|
|
||||||
random_jkiss();
|
|
||||||
}
|
|
||||||
|
|
||||||
init = true;
|
init = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user