external c-sources updated

This commit is contained in:
JupiterRider 2024-11-23 17:27:55 +01:00
parent 2ad5a4babf
commit a0882a5b81
13 changed files with 7674 additions and 4241 deletions

View file

@ -1130,7 +1130,7 @@ static par_shapes__rule* par_shapes__pick_rule(const char* name,
total += rule->weight;
}
}
float r = (float) rand() / RAND_MAX;
float r = (float) rand() / (float) RAND_MAX;
float t = 0;
for (int i = 0; i < nrules; i++) {
rule = rules + i;