1
0

still not sure whats happening

This commit is contained in:
dtb 2023-11-25 11:21:09 -07:00
parent ec97c69a03
commit c62d49ed68

View File

@ -1,2 +1,2 @@
#define get_rand(x, y) (((rand() % ((y) - (x))) + 1) + (x)) /* 0 index */
#define rand_percent(odds) ((rand() % 99 + 1) <= (odds))
#define rand_percent(odds) ((get_rand(1, 100)) <= (odds))