mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-20 13:25:40 +00:00
FIX: LoadRandomSequence(), using GetRandomValue() #5393
This commit is contained in:
@@ -1765,7 +1765,7 @@ int *LoadRandomSequence(unsigned int count, int min, int max)
|
||||
|
||||
for (int i = 0; i < (int)count;)
|
||||
{
|
||||
value = (rand()%(abs(max - min) + 1) + min);
|
||||
value = GetRandomValue(min, max);
|
||||
dupValue = false;
|
||||
|
||||
for (int j = 0; j < i; j++)
|
||||
|
||||
Reference in New Issue
Block a user