1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 09:32:29 +01:00

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

This commit is contained in:
Gymnasiast
2024-03-21 17:58:08 +01:00
parent 27e43b3a94
commit eb2cda6a56
2 changed files with 397 additions and 397 deletions

File diff suppressed because it is too large Load Diff

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));