Print random seed

isolation_bkp/dynres
Dominik Madarász 2021-01-11 19:28:57 +01:00
parent 870a21fd9f
commit d35eb07ce0
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ int main(int argc, char** argv) {
zpl_random rnd={0}; zpl_random rnd={0};
zpl_random_init(&rnd); zpl_random_init(&rnd);
seed = zpl_random_gen_u32(&rnd); seed = zpl_random_gen_u32(&rnd);
zpl_printf("Seed: %lld\n", seed);
} }
if (zpl_opts_has_arg(&opts, "preview-map")) { if (zpl_opts_has_arg(&opts, "preview-map")) {