diff options
Diffstat (limited to 'src/game.c')
-rw-r--r-- | src/game.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -189,7 +189,7 @@ typedef struct game_t { static inline float randf(void) { - return 2.f / RAND_MAX * rand() - 1.f; + return 2.f / (float)RAND_MAX * rand() - 1.f; } |