diff options
| author | Ray <[email protected]> | 2018-11-30 01:57:53 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2018-11-30 01:57:53 +0100 |
| commit | 1774260dab789c00d31b9e17bb5eeab38f81be1c (patch) | |
| tree | f9c8929aa22f29131a10c337651a3cada8713ee6 /src/core.c | |
| parent | 874c0910e33a1762c06148f2b0ea58e107beb7de (diff) | |
| download | raylib-1774260dab789c00d31b9e17bb5eeab38f81be1c.tar.gz raylib-1774260dab789c00d31b9e17bb5eeab38f81be1c.zip | |
Some tweaks
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |
