This commit is contained in:
Abdelrahman Said 2025-05-24 01:37:23 +01:00
parent 961afcd4f4
commit a7d255dba6

2
dod.c
View File

@ -169,7 +169,7 @@ void init_scale_wanderer(Scale *scale, XOR256State *state) {
}
void init_scale_zone(Scale *scale, XOR256State *state) {
scale->width = wapp_prng_xorshift_256p(state) % ((u64)HALF_WIDTH - MIN_ZONE_DIM) + MIN_ZONE_DIM;
scale->width = wapp_prng_xorshift_256p(state) % ((u64)HALF_WIDTH - MIN_ZONE_DIM) + MIN_ZONE_DIM;
scale->height = wapp_prng_xorshift_256p(state) % ((u64)HALF_HEIGHT - MIN_ZONE_DIM) + MIN_ZONE_DIM;
}