Browse Source

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

pull/5399/head
Ray 1 month ago
parent
commit
91ac3cc707
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

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

Loading…
Cancel
Save