mirror of https://github.com/OpenRCT2/OpenRCT2.git
Replace `"forceBmp": true` with `"format": "raw"`
This commit is contained in:
parent
27e43b3a94
commit
eb2cda6a56
File diff suppressed because it is too large
Load Diff
|
@ -584,7 +584,7 @@ int32_t CommandLineForSprite(const char** argv, int32_t argc)
|
|||
|
||||
auto palette = (Json::GetString(jsonSprite["palette"]) == "keep") ? ImageImporter::Palette::KeepIndices
|
||||
: ImageImporter::Palette::OpenRCT2;
|
||||
bool forceBmp = !jsonSprite["palette"].is_null() && Json::GetBoolean(jsonSprite["forceBmp"]);
|
||||
bool forceBmp = !jsonSprite["palette"].is_null() && Json::GetString(jsonSprite["format"]) == "raw";
|
||||
|
||||
auto imagePath = Path::GetAbsolute(Path::Combine(directoryPath, strPath));
|
||||
|
||||
|
|
Loading…
Reference in New Issue