From 3696205f47cf56a447056be11acc5000dd7f1ed5 Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Sat, 24 May 2025 01:31:16 +0100 Subject: [PATCH] Remove old velocity code --- dod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dod.c b/dod.c index 67190c1..83d41b9 100644 --- a/dod.c +++ b/dod.c @@ -253,7 +253,5 @@ u8 collides(const Rect *rect, const Rect *collider) { } i16 get_random_velocity(XOR256State *state) { - // i64 random = (i64)wapp_prng_xorshift_256(state) - INT64_MAX; - // return (f32)(random) / (f32)(INT64_MAX); return (wapp_prng_xorshift_256(state) % (MAX_ABS_VELOCITY + 1 - MIN_ABS_VELOCITY)) + MIN_ABS_VELOCITY; }