summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core.c b/src/core.c
index ff015894..0fa2f00d 100644
--- a/src/core.c
+++ b/src/core.c
@@ -1436,8 +1436,6 @@ Color GetColor(int hexValue)
return color;
}
-
-
// Returns a random value between min and max (both included)
int GetRandomValue(int min, int max)
{
@@ -1448,7 +1446,7 @@ int GetRandomValue(int min, int max)
min = tmp;
}
- return (rand()%(abs(max-min)+1) + min);
+ return (rand()%(abs(max - min) + 1) + min);
}
// Color fade-in or fade-out, alpha goes from 0.0f to 1.0f