Revert "Fixing a bug with the redone PRNG"

This reverts commit 75970023b7.
This commit is contained in:
Sylae Corell
2013-10-21 18:21:02 -06:00
parent 75970023b7
commit 90f4e58f98

View File

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