1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix #16821: sprite exportalldat prints illegal backslashes

This commit is contained in:
Michael Steenbeek
2022-03-20 17:58:18 +01:00
committed by GitHub
parent 25f76dc554
commit 8683122435

View File

@@ -449,6 +449,7 @@ int32_t cmdline_for_sprite(const char** argv, int32_t argc)
return -1;
}
path = fs::u8path(path).generic_u8string();
fprintf(stdout, "{ \"path\": \"%s\", \"x\": %d, \"y\": %d },\n", path.c_str(), g1.x_offset, g1.y_offset);
}
return 1;