FIX: LoadRandomSequence(), using GetRandomValue() #5393

This commit is contained in:
Ray
2025-12-09 20:02:38 +01:00
parent 19a1683641
commit 91ac3cc707

View File

@@ -1765,7 +1765,7 @@ int *LoadRandomSequence(unsigned int count, int min, int max)
for (int i = 0; i < (int)count;) for (int i = 0; i < (int)count;)
{ {
value = (rand()%(abs(max - min) + 1) + min); value = GetRandomValue(min, max);
dupValue = false; dupValue = false;
for (int j = 0; j < i; j++) for (int j = 0; j < i; j++)