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:
committed by
GitHub
parent
6633509af6
commit
8963234eac
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user