1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Print x and y offsets when extracting sprite from command line

This commit is contained in:
Michael Steenbeek
2022-08-28 21:32:52 +02:00
committed by GitHub
parent 61c35c8f1c
commit a2f3ab84cc

View File

@@ -346,6 +346,7 @@ int32_t cmdline_for_sprite(const char** argv, int32_t argc)
fprintf(stderr, "Could not export\n");
return -1;
}
fprintf(stdout, "{ \"x\": %u, \"y\": %u }\n", spriteHeader.x_offset, spriteHeader.y_offset);
return 1;
}