Revert "Seeding the PRNG on every call to it."

This reverts commit 7168ee91de.
This commit is contained in:
Sylae Corell
2013-10-21 18:21:11 -06:00
parent c4175d2e7f
commit 8ddb3889d2

View File

@@ -18,7 +18,6 @@ short get_ran (short times,short min,short max){
if(max < min) max = min;
for (i = 1; i < times + 1; i++) {
srand(GetTickCount());
store = rand();
to_ret += min + (store % (max - min + 1));//min + (((store + 32767) * (max - min + 1)) / 65536);
}