Replace "forceBmp": true with "format": "raw"

This commit is contained in:
Gymnasiast committed 2024-03-30 18:13:02 +01:00
1 parent 27e43b3a94
commit eb2cda6a56
2 files changed
+397 -397

No files matched your search

+396 -396
View File
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -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));