diff --git a/src/main.c b/src/main.c index 7185669..2d4c0cf 100644 --- a/src/main.c +++ b/src/main.c @@ -346,11 +346,11 @@ int main () { // Hash the seeds to ensure they're random enough world_seed = splitmix64(world_seed); printf("World seed: "); - for (int i = 0; i < 4; i ++) printf("%X", (unsigned int)((world_seed >> (8 * i)) & 255)); + for (int i = 3; i >= 0; i --) printf("%X", (unsigned int)((world_seed >> (8 * i)) & 255)); rng_seed = splitmix64(rng_seed); printf("\nRNG seed: "); - for (int i = 0; i < 4; i ++) printf("%X", (unsigned int)((rng_seed >> (8 * i)) & 255)); + for (int i = 3; i >= 0; i --) printf("%X", (unsigned int)((rng_seed >> (8 * i)) & 255)); printf("\n\n"); for (int i = 0; i < sizeof(block_changes) / sizeof(BlockChange); i ++) {