1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Use same parameter names in g2/sprites.json and object json

This commit is contained in:
Michael Steenbeek
2024-03-16 15:45:04 +01:00
committed by GitHub
parent 6633509af6
commit 8963234eac
2 changed files with 8019 additions and 8019 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -579,8 +579,8 @@ int32_t CommandLineForSprite(const char** argv, int32_t argc)
}
std::string strPath = Json::GetString(path);
json_t x_offset = jsonSprite["x_offset"];
json_t y_offset = jsonSprite["y_offset"];
json_t x_offset = jsonSprite["x"];
json_t y_offset = jsonSprite["y"];
auto palette = (Json::GetString(jsonSprite["palette"]) == "keep") ? ImageImporter::Palette::KeepIndices
: ImageImporter::Palette::OpenRCT2;