Reformat
This commit is contained in:
1 parent
961afcd4f4
commit
a7d255dba6
1 file changed
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user