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:
committed by
GitHub
parent
61c35c8f1c
commit
a2f3ab84cc
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user