Reformat
This commit is contained in:
parent
961afcd4f4
commit
a7d255dba6
2
dod.c
2
dod.c
@ -169,7 +169,7 @@ void init_scale_wanderer(Scale *scale, XOR256State *state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void init_scale_zone(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;
|
scale->height = wapp_prng_xorshift_256p(state) % ((u64)HALF_HEIGHT - MIN_ZONE_DIM) + MIN_ZONE_DIM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user