Ensure the seed is an integer

This commit is contained in:
arookas 2016-02-01 05:44:29 -05:00
parent b71a38bb34
commit 8246538bbb

View file

@ -5,10 +5,12 @@
* 2016 arookas * 2016 arookas
\* ================================================= */ \* ================================================= */
import "ssc/common.sun";
var local next; var local next;
function srand(seed) { function srand(seed) {
next = seed; next = int(seed);
} }
function rand() { function rand() {